Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d554168f authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Fix up nfs_post_op_update_inode() to force ctime updates



We do not want to ignore ctime updates that originate from functions
such as link().

Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
parent 472f761e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1633,7 +1633,8 @@ int nfs_post_op_update_inode(struct inode *inode, struct nfs_fattr *fattr)
	nfs_fattr_set_barrier(fattr);
	status = nfs_post_op_update_inode_locked(inode, fattr,
			NFS_INO_INVALID_CHANGE
			| NFS_INO_INVALID_CTIME);
			| NFS_INO_INVALID_CTIME
			| NFS_INO_REVAL_FORCED);
	spin_unlock(&inode->i_lock);

	return status;