Whamcloud - gitweb
LU-13636 obdclass: drop nlink if directory is removed 44/38844/14
authorAlex Zhuravlev <bzzz@whamcloud.com>
Fri, 5 Jun 2020 12:15:22 +0000 (15:15 +0300)
committerOleg Drokin <green@whamcloud.com>
Wed, 10 Mar 2021 08:02:33 +0000 (08:02 +0000)
commitc6d5c6606a38e2b550a81591935b0091faba4a2e
tree529005d90f99d852e84cf9090484818007d5c1b0
parent53fa81765750e38f7879ed5092fd729c1bdc8a0f
LU-13636 obdclass: drop nlink if directory is removed

To make e2fsck happy.  Otherwise, all the features using
local directories (quota, nodemap, nid tables) can leave
orphaned objects as nlink doesn't drop to 0.

Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: I9e20a304d66c61f312168715e888757bc06b6ed0
Reviewed-on: https://review.whamcloud.com/38844
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Mike Pershin <mpershin@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/local_storage.c