OSDN Git Service

staging/lustre/llite: remove llite proc root on init failure
authorJohn L. Hammond <john.hammond@intel.com>
Mon, 2 Feb 2015 02:52:08 +0000 (21:52 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:31:10 +0000 (17:31 +0800)
commit081fa9dffcde7c9fc4d9fdf18fe277dfa3f675aa
treeebc2313f637510e273fa245eee339b826da95267
parentc2fcdf6c427c9c2e305320d6ee82a8ca9f4fa961
staging/lustre/llite: remove llite proc root on init failure

In init_lustre_lite() ensure that /proc/fs/lustre/llite is removed in
case of failure. Generally rework the cleanup code in this function.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Reviewed-on: http://review.whamcloud.com/6420
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-3331
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: James Simmons <uja.ornl@gmail.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/super25.c