diff options
author | David Howells <dhowells@redhat.com> | 2020-10-26 14:05:33 +0000 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-10-29 13:53:04 +0000 |
commit | f792e3ac82fe2c6c863e93187eb7ddfccab68fa7 (patch) | |
tree | 1e030d68b9a0ed8d98046945baf86f12d91fbbde /fs/afs/internal.h | |
parent | 21db2cdc667f744691a407105b7712bc18d74023 (diff) | |
download | linux-f792e3ac82fe2c6c863e93187eb7ddfccab68fa7.tar.gz linux-f792e3ac82fe2c6c863e93187eb7ddfccab68fa7.tar.bz2 linux-f792e3ac82fe2c6c863e93187eb7ddfccab68fa7.zip |
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 'fs/afs/internal.h')
0 files changed, 0 insertions, 0 deletions