diff options
author | Joern Engel <joern@logfs.org> | 2011-08-05 11:18:19 +0200 |
---|---|---|
committer | Prasad Joshi <prasadjoshi.linux@gmail.com> | 2012-01-28 07:12:39 +0100 |
commit | 1bcceaff8cbe5e5698ccf1015c9a938aa72718c4 (patch) | |
tree | 2e36c3d9d5577dbfd3998cab37576a8761cf18fa /fs/logfs/logfs.h | |
parent | logfs: remove useless BUG_ON (diff) | |
download | linux-1bcceaff8cbe5e5698ccf1015c9a938aa72718c4.tar.xz linux-1bcceaff8cbe5e5698ccf1015c9a938aa72718c4.zip |
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/logfs.h')
-rw-r--r-- | fs/logfs/logfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/logfs/logfs.h b/fs/logfs/logfs.h index 0dec29887a8a..59ed32cd62d1 100644 --- a/fs/logfs/logfs.h +++ b/fs/logfs/logfs.h @@ -596,6 +596,7 @@ int logfs_init_mapping(struct super_block *sb); void logfs_sync_area(struct logfs_area *area); void logfs_sync_segments(struct super_block *sb); void freeseg(struct super_block *sb, u32 segno); +void free_areas(struct super_block *sb); /* area handling */ int logfs_init_areas(struct super_block *sb); |