diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/fusefs-kmod/files/patch-fuse_module__fuse_vnops.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/fusefs-kmod/files/patch-fuse_module__fuse_vnops.c b/sysutils/fusefs-kmod/files/patch-fuse_module__fuse_vnops.c index e92cfcf0dba8..8237ec4ed4e7 100644 --- a/sysutils/fusefs-kmod/files/patch-fuse_module__fuse_vnops.c +++ b/sysutils/fusefs-kmod/files/patch-fuse_module__fuse_vnops.c @@ -1,5 +1,5 @@ --- fuse_module/fuse_vnops.c.orig 2008-02-05 13:25:57.000000000 +0800 -+++ fuse_module/fuse_vnops.c 2008-10-19 12:31:23.000000000 +0800 ++++ fuse_module/fuse_vnops.c 2008-10-19 13:31:53.000000000 +0800 @@ -799,8 +799,11 @@ struct vnode *vp = ap->a_vp; struct vattr *vap = ap->a_vap; @@ -26,16 +26,19 @@ if (err) return (err); facp->facc_flags |= FACCESS_VA_VALID; -@@ -1929,7 +1936,7 @@ +@@ -1929,7 +1936,11 @@ * It will not invalidate pages which are dirty, locked, under * writeback or mapped into pagetables.") */ -- err = vinvalbuf(vp, 0, td, PCATCH, 0); ++#if VOP_GETATTR_TAKES_THREAD + err = vinvalbuf(vp, 0, td, PCATCH, 0); ++#else + err = vinvalbuf(vp, 0, PCATCH, 0); ++#endif fufh->flags |= FOPEN_KEEP_CACHE; } -@@ -3005,8 +3012,11 @@ +@@ -3005,8 +3016,11 @@ struct vattr *vap = ap->a_vap; struct vnode *vp = ap->a_vp; struct ucred *cred = ap->a_cred; |