aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2020-04-21 08:54:44 +0000
committerTheodore Ts'o <[email protected]>2020-06-04 03:16:49 +0000
commit4301efa4c7cca11556dd89899eee066d49b47bf7 (patch)
treeb4d16c21857fcbdca32f6bc8aac9f06b37224339 /fs/fs-writeback.c
parentext4: fix buffer_head refcnt leak when ext4_iget() fails (diff)
downloadkernel-4301efa4c7cca11556dd89899eee066d49b47bf7.tar.gz
kernel-4301efa4c7cca11556dd89899eee066d49b47bf7.zip
writeback: Export inode_io_list_del()
Ext4 needs to remove inode from writeback lists after it is out of visibility of its journalling machinery (which can still dirty the inode). Export inode_io_list_del() for it. Signed-off-by: Jan Kara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/fs-writeback.c')
-rw-r--r--fs/fs-writeback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fs-writeback.c b/fs/fs-writeback.c
index 76ac9c7d32ec..e58bd5f758d0 100644
--- a/fs/fs-writeback.c
+++ b/fs/fs-writeback.c
@@ -1126,6 +1126,7 @@ void inode_io_list_del(struct inode *inode)
inode_io_list_del_locked(inode, wb);
spin_unlock(&wb->list_lock);
}
+EXPORT_SYMBOL(inode_io_list_del);
/*
* mark an inode as under writeback on the sb