summaryrefslogtreecommitdiff
path: root/fs/logfs/super.c
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2011-08-05 11:18:19 +0200
committerPrasad Joshi <prasadjoshi.linux@gmail.com>2012-01-28 11:42:39 +0530
commit1bcceaff8cbe5e5698ccf1015c9a938aa72718c4 (patch)
tree2e36c3d9d5577dbfd3998cab37576a8761cf18fa /fs/logfs/super.c
parent6c69494f6b442834f26377e02d43fc8e1272221d (diff)
logfs: Free areas before calling generic_shutdown_super()
Or hit an assertion in map_invalidatepage() instead. Signed-off-by: Joern Engel <joern@logfs.org>
Diffstat (limited to 'fs/logfs/super.c')
-rw-r--r--fs/logfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/super.c b/fs/logfs/super.c
index f9b7a30b00a3..c9ee7f5d1caf 100644
--- a/fs/logfs/super.c
+++ b/fs/logfs/super.c
@@ -486,6 +486,7 @@ static void logfs_kill_sb(struct super_block *sb)
/* Alias entries slow down mount, so evict as many as possible */
sync_filesystem(sb);
logfs_write_anchor(sb);
+ free_areas(sb);
/*
* From this point on alias entries are simply dropped - and any