svn commit: r235902 - stable/9/sys/fs/unionfs
Edward Tomasz Napierala
trasz at FreeBSD.org
Thu May 24 11:50:15 UTC 2012
Author: trasz
Date: Thu May 24 11:50:14 2012
New Revision: 235902
URL: http://svn.freebsd.org/changeset/base/235902
Log:
MFC r226234:
Make unionfs also clear VAPPEND when clearing VWRITE, since VAPPEND
is just a modifier for VWRITE.
Modified:
stable/9/sys/fs/unionfs/union_vnops.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/fs/ (props changed)
Modified: stable/9/sys/fs/unionfs/union_vnops.c
==============================================================================
--- stable/9/sys/fs/unionfs/union_vnops.c Thu May 24 11:46:39 2012 (r235901)
+++ stable/9/sys/fs/unionfs/union_vnops.c Thu May 24 11:50:14 2012 (r235902)
@@ -736,7 +736,7 @@ unionfs_access(struct vop_access_args *a
return (error);
}
}
- accmode &= ~VWRITE;
+ accmode &= ~(VWRITE | VAPPEND);
accmode |= VREAD; /* will copy to upper */
}
error = VOP_ACCESS(lvp, accmode, ap->a_cred, td);
More information about the svn-src-stable-9
mailing list