[v2,04/16] vfs: Export flush_delayed_fput for use by knfsd.
diff mbox series

Message ID 20190818181859.8458-5-trond.myklebust@hammerspace.com
State New
Headers show
  • Cache open file descriptors in knfsd
Related show

Commit Message

Trond Myklebust Aug. 18, 2019, 6:18 p.m. UTC
From: Trond Myklebust <trond.myklebust@primarydata.com>

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 <trond.myklebust@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
 fs/file_table.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/fs/file_table.c b/fs/file_table.c
index b07b53f24ff5..30d55c9a1744 100644
--- a/fs/file_table.c
+++ b/fs/file_table.c
@@ -327,6 +327,7 @@  void flush_delayed_fput(void)
 static DECLARE_DELAYED_WORK(delayed_fput_work, delayed_fput);