diff options
author | David Howells <dhowells@redhat.com> | 2020-10-22 14:40:31 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2020-10-27 22:05:56 +0000 |
commit | d383e346f97d6bb0d654bb3d63c44ab106d92d29 (patch) | |
tree | 95f45265515b57b620fa4608d933caa1e200dc97 /fs/afs/internal.h | |
parent | 248c944e2159de4868bef558feea40214aaf8464 (diff) |
afs: Fix afs_launder_page to not clear PG_writeback
Fix afs_launder_page() to not clear PG_writeback on the page it is
laundering as the flag isn't set in this case.
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')
-rw-r--r-- | fs/afs/internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/afs/internal.h b/fs/afs/internal.h index 81b0485fd22a..289f5dffa46f 100644 --- a/fs/afs/internal.h +++ b/fs/afs/internal.h @@ -812,6 +812,7 @@ struct afs_operation { pgoff_t last; /* last page in mapping to deal with */ unsigned first_offset; /* offset into mapping[first] */ unsigned last_to; /* amount of mapping[last] */ + bool laundering; /* Laundering page, PG_writeback not set */ } store; struct { struct iattr *attr; |