aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
505{ 505{
506 gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_kill_sb: called\n"); 506 gossip_debug(GOSSIP_SUPER_DEBUG, "orangefs_kill_sb: called\n");
507 507
508 /* provided sb cleanup */
509 kill_anon_super(sb);
510
508 /* 511 /*
509 * issue the unmount to userspace to tell it to remove the 512 * issue the unmount to userspace to tell it to remove the
510 * dynamic mount info it has for this superblock 513 * dynamic mount info it has for this superblock
@@ -514,9 +517,6 @@ void orangefs_kill_sb(struct super_block *sb)
514 /* remove the sb from our list of orangefs specific sb's */ 517 /* remove the sb from our list of orangefs specific sb's */
515 remove_orangefs_sb(sb); 518 remove_orangefs_sb(sb);
516 519
517 /* provided sb cleanup */
518 kill_anon_super(sb);
519
520 /* free the orangefs superblock private data */ 520 /* free the orangefs superblock private data */
521 kfree(ORANGEFS_SB(sb)); 521 kfree(ORANGEFS_SB(sb));
522} 522}