]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa4e11a99403323b36f29e6b73228f144993f549
tree63d9bd591cb30a83ae370c49e54c9414eea5e2e0
parentbcb23d5ba426d9bc26eddebfec3d3c044e00e632
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