diff options
author | Baokun Li <[email protected]> | 2024-01-24 22:28:56 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-01-25 17:23:51 +0100 |
commit | 4b944f8ef99641d5af287c7d9df91d20ef5d3e88 (patch) | |
tree | 0d9f1f456dcc8face557e9652b47dafa7ff19049 /lib/debugobjects.c | |
parent | d8f899d13d72d285db43dbb9df1acaed22d8c4e7 (diff) |
Revert "mm/filemap: avoid buffered read/write race to read inconsistent data"
This reverts commit e2c27b803bb6 ("mm/filemap: avoid buffered read/write
race to read inconsistent data"). After making the i_size_read/write
helpers be smp_load_acquire/store_release(), it is already guaranteed that
changes to page contents are visible before we see increased inode size,
so the extra smp_rmb() in filemap_read() can be removed.
Signed-off-by: Baokun Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions