]> git.hungrycats.org Git - linux/commitdiff
[XFS] Reenable non-block flag for DMAPI.
authorNathan Scott <nathans@sgi.com>
Thu, 1 Apr 2004 21:52:31 +0000 (07:52 +1000)
committerNathan Scott <nathans@sgi.com>
Thu, 1 Apr 2004 21:52:31 +0000 (07:52 +1000)
SGI Modid: xfs-linux:xfs-kern:169038a

fs/xfs/linux/xfs_iops.c

index 25f7260482c4d74f16b0474059ab4e9f5713ce41..4b3e61d6ccd9874ab2e2b6d2938e19f51070ce64 100644 (file)
@@ -536,6 +536,10 @@ linvfs_setattr(
 
        if (ia_valid & (ATTR_MTIME_SET | ATTR_ATIME_SET))
                flags = ATTR_UTIME;
+#ifdef ATTR_NO_BLOCK
+       if ((ia_valid & ATTR_NO_BLOCK))
+               flags |= ATTR_NONBLOCK;
+#endif
 
        VOP_SETATTR(vp, &vattr, flags, NULL, error);
        if (error)