summaryrefslogtreecommitdiffstats
path: root/fs/fs-writeback.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2020-04-21 10:54:44 +0200
committerTheodore Ts'o <tytso@mit.edu>2020-06-04 05:16:49 +0200
commit4301efa4c7cca11556dd89899eee066d49b47bf7 (patch)
treeb4d16c21857fcbdca32f6bc8aac9f06b37224339 /fs/fs-writeback.c
parentext4: fix buffer_head refcnt leak when ext4_iget() fails (diff)
downloadlinux-4301efa4c7cca11556dd89899eee066d49b47bf7.tar.xz
linux-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 <jack@suse.cz> Link: https://lore.kernel.org/r/20200421085445.5731-3-jack@suse.cz Signed-off-by: Theodore Ts'o <tytso@mit.edu>
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