put put_vnode() back where it belongs!
This commit is contained in:
parent
46ecfa2b5c
commit
34d5401ed4
@ -334,8 +334,8 @@ int *created;
|
|||||||
#if 0
|
#if 0
|
||||||
printf(
|
printf(
|
||||||
"vfs:create_open: creating existing file with O_EXCL\n");
|
"vfs:create_open: creating existing file with O_EXCL\n");
|
||||||
put_vnode(dir_vp);
|
|
||||||
#endif
|
#endif
|
||||||
|
put_vnode(dir_vp);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,3 +39,4 @@ EXTERN struct vnode {
|
|||||||
#define ISEEK 1 /* i_seek = ISEEK if last op was SEEK */
|
#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…
x
Reference in New Issue
Block a user