Skip to content

Commit

Permalink
orangefs: have ->kill_sb() evict the VFS side of things first
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Mike Marshall <[email protected]>
  • Loading branch information
Al Viro authored and hubcapsc committed Mar 26, 2016
1 parent 177f8fc commit 524b1d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/orangefs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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));
}
Expand Down

0 comments on commit 524b1d3

Please sign in to comment.