mbox series

[v3,0/3] Fix mkdir/rmdir() in NFSv4

Message ID 20180731195412.10912-1-trond.myklebust@hammerspace.com (mailing list archive)
Headers show
Series Fix mkdir/rmdir() in NFSv4 | expand

Message

Trond Myklebust July 31, 2018, 7:54 p.m. UTC
v1:
  - bump/drop the nlink count on the parent dir when we mkdir/rmdir
v2:
  - Fix nlink changes on cross-directory renames
  - Mark the inode change attribute up to date in update_changeattr()
v3:
  - dec_nlink() -> drop_nlink()

Trond Myklebust (3):
  NFSv4: bump/drop the nlink count on the parent dir when we mkdir/rmdir
  NFSv4: Detect nlink changes on cross-directory renames too
  NFSv4: Mark the inode change attribute up to date in
    update_changeattr()

 fs/nfs/nfs4proc.c | 80 +++++++++++++++++++++++++++++++++++++----------
 1 file changed, 63 insertions(+), 17 deletions(-)