summaryrefslogtreecommitdiff
path: root/fs/nfs/cache_lib.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-05-03 04:36:10 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-17 06:51:53 +0300
commit85903ac93619905fe0f07e85dac57324a0936759 (patch)
treee611e6001c7e2bb9174150f9e5d2f94bd8b09009 /fs/nfs/cache_lib.c
parentc214cb82cdc744225d85899fc138251527f75fff (diff)
downloadlinux-85903ac93619905fe0f07e85dac57324a0936759.tar.xz
more graceful recovery in umount_collect()
commit 9c8c10e262e0f62cb2530f1b076de979123183dd upstream. Start with shrink_dcache_parent(), then scan what remains. First of all, BUG() is very much an overkill here; we are holding ->s_umount, and hitting BUG() means that a lot of interesting stuff will be hanging after that point (sync(2), for example). Moreover, in cases when there had been more than one leak, we'll be better off reporting all of them. And more than just the last component of pathname - %pd is there for just such uses... That was the last user of dentry_lru_del(), so kill it off... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Cc: "Nicholas A. Bellinger" <nab@linux-iscsi.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/cache_lib.c')
0 files changed, 0 insertions, 0 deletions