commit | f792e3ac82fe2c6c863e93187eb7ddfccab68fa7 | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Mon Oct 26 14:05:33 2020 +0000 |
committer | David Howells <dhowells@redhat.com> | Thu Oct 29 13:53:04 2020 +0000 |
tree | 1e030d68b9a0ed8d98046945baf86f12d91fbbde | |
parent | 21db2cdc667f744691a407105b7712bc18d74023 [diff] |
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>