NFS: Set an attribute barrier on all updates
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Feb 2015 00:34:32 +0000 (19:34 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 2 Mar 2015 04:23:06 +0000 (23:23 -0500)
commitf5062003465c20cfe584d9129a463322ad5cf4ea
tree67c20f919855153b04eeaf76bf7056e19879fd98
parentf044636d972246d451e06226cc1675d5da389762
NFS: Set an attribute barrier on all updates

Ensure that we update the attribute barrier even if there were no
invalidations, provided that this value is newer than the old one.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfs/inode.c