diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2010-01-23 22:37:34 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-01-23 22:37:34 +0000 |
commit | 6c004380497892cf9efb62210c79254f1bf5931c (patch) | |
tree | b3aee27919c9b1d4ab3570959a8d7b46690a85c9 | |
parent | bcd9c86bcc780b72459ff7c6dcf2a71bfb41dbfe (diff) |
Notes
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index acd42986f43c6..4d9668a046af1 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -337,7 +337,7 @@ kern_statfs(struct thread *td, char *path, enum uio_seg pathseg, } *buf = *sp; out: - vfs_unbusy(mp); + vfs_unbusy(mp, td); VFS_UNLOCK_GIANT(vfslocked); if (mtx_owned(&Giant)) printf("statfs(%d): %s: %d\n", vfslocked, path, error); @@ -429,7 +429,7 @@ kern_fstatfs(struct thread *td, int fd, struct statfs *buf) *buf = *sp; out: if (mp) - vfs_unbusy(mp); + vfs_unbusy(mp, td); VFS_UNLOCK_GIANT(vfslocked); return (error); } |