Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 May 2016 01:11:42 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r299819 - user/ngie/bsnmp_cleanup/sys/fs/fuse
Message-ID:  <201605150111.u4F1Bgiw018574@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605150111.u4F1Bgiw018574>