diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-07-02 14:59:15 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:23 -0400 |
commit | e1036a2a718f2cbd082568c881f677cf5fd9f442 (patch) | |
tree | 33d79e4781f1c3d48744f08325f562b135311ef0 /fs/bcachefs/fs.c | |
parent | a6f4d5bb249cf6ac44d1a83c72584402b7e5f6ed (diff) |
bcachefs: Always touch page state with page locked
This will mean we don't have to use cmpxchg for modifying page state,
which will simplify a fair amount of code
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.c')
-rw-r--r-- | fs/bcachefs/fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/fs.c b/fs/bcachefs/fs.c index c806ebad9cde..f69b535b1b82 100644 --- a/fs/bcachefs/fs.c +++ b/fs/bcachefs/fs.c @@ -1349,7 +1349,7 @@ static const struct address_space_operations bch_address_space_operations = { .read_folio = bch2_read_folio, .writepages = bch2_writepages, .readahead = bch2_readahead, - .dirty_folio = bch2_dirty_folio, + .dirty_folio = filemap_dirty_folio, .write_begin = bch2_write_begin, .write_end = bch2_write_end, .invalidate_folio = bch2_invalidate_folio, |