summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/super.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2016-02-16 21:08:29 -0500
committerMike Marshall <hubcap@omnibond.com>2016-03-25 22:30:54 -0400
commit524b1d3095159adeee0305508eefc836a197b681 (patch)
tree8f7edccb39303bac4b771965126f20f078ec5676 /fs/orangefs/super.c
parent177f8fc491e230c2e7a3ac7d5626dd6f3d94e9f2 (diff)
downloadlinux-524b1d3095159adeee0305508eefc836a197b681.tar.gz
linux-524b1d3095159adeee0305508eefc836a197b681.tar.bz2
linux-524b1d3095159adeee0305508eefc836a197b681.zip
orangefs: have ->kill_sb() evict the VFS side of things first
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs/orangefs/super.c')
-rw-r--r--fs/orangefs/super.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/orangefs/super.c b/fs/orangefs/super.c
index 1eeb0093b62c..5a89b8083966 100644
--- a/fs/orangefs/super.c
+++ b/fs/orangefs/super.c
@@ -505,6 +505,9 @@ void orangefs_kill_sb(struct super_block *sb)
{
gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_kill_sb: called\n");
+ /* provided sb cleanup */
+ kill_anon_super(sb);
+
/*
* issue the unmount to userspace to tell it to remove the
* dynamic mount info it has for this superblock
@@ -514,9 +517,6 @@ void orangefs_kill_sb(struct super_block *sb)
/* remove the sb from our list of orangefs specific sb's */
remove_orangefs_sb(sb);
- /* provided sb cleanup */
- kill_anon_super(sb);
-
/* free the orangefs superblock private data */
kfree(ORANGEFS_SB(sb));
}