Commit 78de000f authored by Nathan Scott's avatar Nathan Scott

[XFS] Reenable non-block flag for DMAPI.

SGI Modid: xfs-linux:xfs-kern:169038a
parent 79ef517b
...@@ -536,6 +536,10 @@ linvfs_setattr( ...@@ -536,6 +536,10 @@ linvfs_setattr(
if (ia_valid & (ATTR_MTIME_SET | ATTR_ATIME_SET)) if (ia_valid & (ATTR_MTIME_SET | ATTR_ATIME_SET))
flags = ATTR_UTIME; flags = ATTR_UTIME;
#ifdef ATTR_NO_BLOCK
if ((ia_valid & ATTR_NO_BLOCK))
flags |= ATTR_NONBLOCK;
#endif
VOP_SETATTR(vp, &vattr, flags, NULL, error); VOP_SETATTR(vp, &vattr, flags, NULL, error);
if (error) if (error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment