projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b72679e
)
vfs: Export flush_delayed_fput for use by knfsd.
author
Trond Myklebust
<trond.myklebust@primarydata.com>
Sun, 18 Aug 2019 18:18:47 +0000
(14:18 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Mon, 19 Aug 2019 15:00:39 +0000
(11:00 -0400)
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>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/file_table.c
patch
|
blob
|
history
diff --git
a/fs/file_table.c
b/fs/file_table.c
index b07b53f24ff5d8abde224be8847c3f2423d2babd..30d55c9a1744a6244d50e8ae3497a1563e7e14a1 100644
(file)
--- 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);