NFSv4: Detect nlink changes on cross-directory renames too
authorTrond Myklebust <trondmy@gmail.com>
Tue, 31 Jul 2018 19:54:11 +0000 (15:54 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 8 Aug 2018 20:50:02 +0000 (16:50 -0400)
commit5636ec4eb6b804cd7e67e3a896f1624609dfb427
treebec7a4a95b0ce93931075ff61f5df2b1b93cc38c
parent3c591175d6432ca9b7d26a171715652d88902715
NFSv4: Detect nlink changes on cross-directory renames too

If the object being renamed from one directory to another is also
a directory, then 'nlink' will change for both directories.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c