diff options
author | David Howells <dhowells@redhat.com> | 2017-11-02 15:27:52 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2017-11-13 15:38:20 +0000 |
commit | 4343d00872e1de9a470d951bf09bdd18bc73f555 (patch) | |
tree | 282105c3309c5ad71b97a0d5c555ad53be81fb0b /mm | |
parent | 215804a99283c57fdd869aab350fdf6acc3460b6 (diff) | |
download | linux-4343d00872e1de9a470d951bf09bdd18bc73f555.tar.gz linux-4343d00872e1de9a470d951bf09bdd18bc73f555.tar.bz2 linux-4343d00872e1de9a470d951bf09bdd18bc73f555.zip |
afs: Get rid of the afs_writeback record
Get rid of the afs_writeback record that kAFS is using to match keys with
writes made by that key.
Instead, keep a list of keys that have a file open for writing and/or
sync'ing and iterate through those.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/filemap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mm/filemap.c b/mm/filemap.c index 594d73fef8b4..5bcc87adbeeb 100644 --- a/mm/filemap.c +++ b/mm/filemap.c @@ -1041,6 +1041,7 @@ int wait_on_page_bit_killable(struct page *page, int bit_nr) wait_queue_head_t *q = page_waitqueue(page); return wait_on_page_bit_common(q, page, bit_nr, TASK_KILLABLE, false); } +EXPORT_SYMBOL(wait_on_page_bit_killable); /** * add_page_wait_queue - Add an arbitrary waiter to a page's wait queue |