summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.h
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-05-02 22:09:56 -0700
committerJaegeuk Kim <jaegeuk@kernel.org>2016-05-07 10:32:25 -0700
commit74ef924167ad9d2897ffc0ef83c7ebf322fcc535 (patch)
tree4271f8dfd76d286837bbbd131a83d93ccb6654da /fs/f2fs/f2fs.h
parent221149c00e64c202e6e172a9c4efad142a6b610d (diff)
downloadblackbird-op-linux-74ef924167ad9d2897ffc0ef83c7ebf322fcc535.tar.gz
blackbird-op-linux-74ef924167ad9d2897ffc0ef83c7ebf322fcc535.zip
f2fs: fix leak of orphan inode objects
When unmounting filesystem, we should release all the ino entries. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r--fs/f2fs/f2fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h
index 8ba2f923d95a..ea146a599b4c 100644
--- a/fs/f2fs/f2fs.h
+++ b/fs/f2fs/f2fs.h
@@ -1911,7 +1911,7 @@ void ra_meta_pages_cond(struct f2fs_sb_info *, pgoff_t);
long sync_meta_pages(struct f2fs_sb_info *, enum page_type, long);
void add_ino_entry(struct f2fs_sb_info *, nid_t, int type);
void remove_ino_entry(struct f2fs_sb_info *, nid_t, int type);
-void release_ino_entry(struct f2fs_sb_info *);
+void release_ino_entry(struct f2fs_sb_info *, bool);
bool exist_written_data(struct f2fs_sb_info *, nid_t, int);
int acquire_orphan_inode(struct f2fs_sb_info *);
void release_orphan_inode(struct f2fs_sb_info *);
OpenPOWER on IntegriCloud