NFSv4: bump/drop the nlink count on the parent dir when we mkdir/rmdir
authorTrond Myklebust <trondmy@gmail.com>
Tue, 31 Jul 2018 19:54:10 +0000 (15:54 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 8 Aug 2018 20:50:01 +0000 (16:50 -0400)
commit3c591175d6432ca9b7d26a171715652d88902715
tree63d9bd591cb30a83ae370c49e54c9414eea5e2e0
parentc16467dc03db5e2532484026a25b0eef80012ea1
NFSv4: bump/drop the nlink count on the parent dir when we mkdir/rmdir

Ensure that we always bump or drop the nlink count on the parent directory
when we do a mkdir or a rmdir(). This needs to be done by hand as we don't
have pre/post op attributes.

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