svn commit: r299819 - user/ngie/bsnmp_cleanup/sys/fs/fuse
Garrett Cooper
ngie at FreeBSD.org
Sun May 15 01:11:43 UTC 2016
Author: ngie
Date: Sun May 15 01:11:42 2016
New Revision: 299819
URL: https://svnweb.freebsd.org/changeset/base/299819
Log:
MFhead @ r299818
Modified:
user/ngie/bsnmp_cleanup/sys/fs/fuse/fuse_node.c
Directory Properties:
user/ngie/bsnmp_cleanup/ (props changed)
Modified: user/ngie/bsnmp_cleanup/sys/fs/fuse/fuse_node.c
==============================================================================
--- user/ngie/bsnmp_cleanup/sys/fs/fuse/fuse_node.c Sun May 15 01:10:31 2016 (r299818)
+++ user/ngie/bsnmp_cleanup/sys/fs/fuse/fuse_node.c Sun May 15 01:11:42 2016 (r299819)
@@ -289,7 +289,9 @@ fuse_vnode_open(struct vnode *vp, int32_
* XXXIP: Handle fd based DIRECT_IO
*/
if (fuse_open_flags & FOPEN_DIRECT_IO) {
+ ASSERT_VOP_ELOCKED(vp, __func__);
VTOFUD(vp)->flag |= FN_DIRECTIO;
+ fuse_io_invalbuf(vp, td);
} else {
VTOFUD(vp)->flag &= ~FN_DIRECTIO;
}
More information about the svn-src-user
mailing list