Searched hist:f792e3ac (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/afs/ |
H A D | write.c | f792e3ac Mon Oct 26 09:05:33 CDT 2020 David Howells <dhowells@redhat.com> afs: Fix where page->private is set during write
In afs, page->private is set to indicate the dirty region of a page. This is done in afs_write_begin(), but that can't take account of whether the copy into the page actually worked.
Fix this by moving the change of page->private into afs_write_end().
Fixes: 4343d00872e1 ("afs: Get rid of the afs_writeback record") Signed-off-by: David Howells <dhowells@redhat.com> f792e3ac Mon Oct 26 09:05:33 CDT 2020 David Howells <dhowells@redhat.com> afs: Fix where page->private is set during write In afs, page->private is set to indicate the dirty region of a page. This is done in afs_write_begin(), but that can't take account of whether the copy into the page actually worked. Fix this by moving the change of page->private into afs_write_end(). Fixes: 4343d00872e1 ("afs: Get rid of the afs_writeback record") Signed-off-by: David Howells <dhowells@redhat.com>
|