Author: ed
Date: Mon Oct 22 21:14:26 2012
New Revision: 241914
URL: http://svn.freebsd.org/changeset/base/241914
Log:
Remove unused `vfslocked' variable.
I have no idea what this `vfslocked' thing means. I wonder how it ended
up here.
Modified:
head/sys/kern/vfs_syscalls.c
Modified: head/sys/kern/vfs_syscalls.c
==============================================================================
--- head/sys/kern/vfs_syscalls.c Mon Oct 22 21:09:03 2012
(r241913)
+++ head/sys/kern/vfs_syscalls.c Mon Oct 22 21:14:26 2012
(r241914)
@@ -4507,10 +4507,9 @@ kern_posix_fallocate(struct thread *td,
struct mount *mp;
struct vnode *vp;
off_t olen, ooffset;
- int error, vfslocked;
+ int error;
fp = NULL;
- vfslocked = 0;
error = fget(td, fd, CAP_WRITE, &fp);
if (error != 0)
goto out;
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"