[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: permission problems..
> The xfs raid we have is nfsd to all our application servers. Yes, it is
> happening through NFS access since users do not have direct access to the
> file server.
>
Can someone who is seeing this problem try the following small patch and
let me know if this fixes the problem.
Thanks,
Steve
===========================================================================
Index: linux/fs/xfs/linux/xfs_iops.c
===========================================================================
--- /usr/tmp/TmpDir.30694-0/linux/fs/xfs/linux/xfs_iops.c_1.106 Mon Jun 4 10:55:14 2001
+++ linux/fs/xfs/linux/xfs_iops.c Mon Jun 4 10:50:14 2001
@@ -605,7 +605,7 @@
vnode_t *vp;
vp = LINVFS_GET_VP(dentry->d_inode);
- if (vp->v_flag & VMODIFIED) {
+ if (1 /* vp->v_flag & VMODIFIED */) {
return linvfs_revalidate_core(dentry->d_inode, 0);
}
return 0;
===========================================================================
Index: linux/fs/xfs/linux/xfs_vnode.c
===========================================================================
--- /usr/tmp/TmpDir.30694-0/linux/fs/xfs/linux/xfs_vnode.c_1.64 Mon Jun 4 10:55:13 2001
+++ linux/fs/xfs/linux/xfs_vnode.c Mon Jun 4 10:40:22 2001
@@ -196,6 +196,7 @@
make_bad_inode(inode);
} else {
linvfs_set_inode_ops(inode);
+ linvfs_revalidate_core(inode, ATTR_COMM);
}
VN_UNLOCK(vp, s);
}