]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging/lustre: make ldebugfs_remove recursive
authorOleg Drokin <green@linuxhacker.ru>
Mon, 6 Jul 2015 16:48:40 +0000 (12:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jul 2015 02:47:19 +0000 (19:47 -0700)
commit6a491f2b80f2806221ba3a5a3e26fbe945f82d83
treeca5241f6943529c152db1214ac9c41edced63314
parent3c150f0081647c0b96ce0d61d541b9b470433676
staging/lustre: make ldebugfs_remove recursive

ldebugfs_remove is usually called on directories with files passed in
as attributes, so simple debugfs_remove failes on them as not empty
Switch to debugfs_remove_recursive.

This fixes a number of problems where a new filesystem is mounted after
being unmounted first.

Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/obdclass/lprocfs_status.c