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 11:42:39 +0530 |
commit | 1bcceaff8cbe5e5698ccf1015c9a938aa72718c4 (patch) | |
tree | 2e36c3d9d5577dbfd3998cab37576a8761cf18fa /fs/logfs/logfs.h | |
parent | 6c69494f6b442834f26377e02d43fc8e1272221d (diff) | |
download | op-kernel-dev-1bcceaff8cbe5e5698ccf1015c9a938aa72718c4.zip op-kernel-dev-1bcceaff8cbe5e5698ccf1015c9a938aa72718c4.tar.gz |
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 0dec298..59ed32c 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); |