put put_vnode() back where it belongs!
This commit is contained in:
parent
46ecfa2b5c
commit
34d5401ed4
2 changed files with 2 additions and 1 deletions
|
@ -334,8 +334,8 @@ int *created;
|
|||
#if 0
|
||||
printf(
|
||||
"vfs:create_open: creating existing file with O_EXCL\n");
|
||||
put_vnode(dir_vp);
|
||||
#endif
|
||||
put_vnode(dir_vp);
|
||||
return r;
|
||||
}
|
||||
|
||||
|
|
|
@ -39,3 +39,4 @@ EXTERN struct vnode {
|
|||
#define ISEEK 1 /* i_seek = ISEEK if last op was SEEK */
|
||||
|
||||
|
||||
#define SANITYCHECK do { if(!check_vrefs()) { printf("VFS:%s:%d: vref check failed\n", __FILE__, __LINE__); util_stacktrace(); } } while(0)
|
||||
|
|
Loading…
Reference in a new issue