]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite241fe9d41b0a3986b622f2bcb890981f3391a24
treebec7a4a95b0ce93931075ff61f5df2b1b93cc38c
parent93a3ca82a9f0e60efc7927c783c01461cbb672ce
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