From: Trond Myklebust Date: Sun, 18 Aug 2019 18:18:47 +0000 (-0400) Subject: vfs: Export flush_delayed_fput for use by knfsd. X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7239a40ca8bfd88dc5d2f66a14882054fe8e3b92;p=linux.git vfs: Export flush_delayed_fput for use by knfsd. Allow knfsd to flush the delayed fput list so that it can ensure the cached struct file is closed before it is unlinked. Signed-off-by: Trond Myklebust Signed-off-by: Trond Myklebust Signed-off-by: J. Bruce Fields --- diff --git a/fs/file_table.c b/fs/file_table.c index b07b53f24ff5d..30d55c9a1744a 100644 --- a/fs/file_table.c +++ b/fs/file_table.c @@ -327,6 +327,7 @@ void flush_delayed_fput(void) { delayed_fput(NULL); } +EXPORT_SYMBOL_GPL(flush_delayed_fput); static DECLARE_DELAYED_WORK(delayed_fput_work, delayed_fput);