]> git.baikalelectronics.ru Git - kernel.git/commit
afs: Fix afs_launder_page to not clear PG_writeback
authorDavid Howells <dhowells@redhat.com>
Thu, 22 Oct 2020 13:40:31 +0000 (14:40 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 27 Oct 2020 22:05:56 +0000 (22:05 +0000)
commit47fc4db1676b8e8bd8c34e01b7f12c9f66928183
tree95f45265515b57b620fa4608d933caa1e200dc97
parentfca824861e059f00ab0d858b1a6383d85a67b3a5
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: 19554d2d2903 ("afs: Get rid of the afs_writeback record")
Signed-off-by: David Howells <dhowells@redhat.com>
fs/afs/internal.h
fs/afs/write.c