diff options
author | David Howells <dhowells@redhat.com> | 2020-10-26 17:05:33 +0300 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-10-29 16:53:04 +0300 |
commit | f792e3ac82fe2c6c863e93187eb7ddfccab68fa7 (patch) | |
tree | 1e030d68b9a0ed8d98046945baf86f12d91fbbde /include | |
parent | 21db2cdc667f744691a407105b7712bc18d74023 (diff) | |
download | linux-f792e3ac82fe2c6c863e93187eb7ddfccab68fa7.tar.xz |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions