Commit 524b1d30 authored by Al Viro's avatar Al Viro Committed by Mike Marshall

orangefs: have ->kill_sb() evict the VFS side of things first

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarMike Marshall <hubcap@omnibond.com>
parent 177f8fc4
...@@ -505,6 +505,9 @@ void orangefs_kill_sb(struct super_block *sb) ...@@ -505,6 +505,9 @@ void orangefs_kill_sb(struct super_block *sb)
{ {
gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_kill_sb: called\n"); 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 * issue the unmount to userspace to tell it to remove the
* dynamic mount info it has for this superblock * dynamic mount info it has for this superblock
...@@ -514,9 +517,6 @@ void orangefs_kill_sb(struct super_block *sb) ...@@ -514,9 +517,6 @@ void orangefs_kill_sb(struct super_block *sb)
/* remove the sb from our list of orangefs specific sb's */ /* remove the sb from our list of orangefs specific sb's */
remove_orangefs_sb(sb); remove_orangefs_sb(sb);
/* provided sb cleanup */
kill_anon_super(sb);
/* free the orangefs superblock private data */ /* free the orangefs superblock private data */
kfree(ORANGEFS_SB(sb)); kfree(ORANGEFS_SB(sb));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment