mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-02 22:27:10 +00:00
Fix exiting out of btree_walk early for force_umnt
We do not want to short-circuit btree_walk early, it is better to handle the force unmount on the caller side. Therefore, remove this from btree_walk. Signed-off-by: Bryant G. Duffy-Ly <bduffyly@versity.com>
This commit is contained in:
@@ -1233,10 +1233,6 @@ static int btree_walk(struct super_block *sb,
|
||||
WARN_ON_ONCE((flags & (BTW_GET_PAR|BTW_SET_PAR)) && !par_root))
|
||||
return -EINVAL;
|
||||
|
||||
/* all ops come through walk and walk calls all reads */
|
||||
if (scoutfs_forcing_unmount(sb))
|
||||
return -EIO;
|
||||
|
||||
scoutfs_inc_counter(sb, btree_walk);
|
||||
|
||||
restart:
|
||||
|
||||
Reference in New Issue
Block a user