summaryrefslogtreecommitdiff
path: root/fs/exfat/Kconfig
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2024-01-24 20:52:44 +0300
committerRichard Weinberger <richard@nod.at>2024-02-25 23:07:59 +0300
commit723012cab779eee8228376754e22c6594229bf8f (patch)
tree3d4017ea695437f2c0cf6e7e780e3955a5feedde /fs/exfat/Kconfig
parentb401b621758e46812da61fa58a67c3fd8d91de0d (diff)
downloadlinux-723012cab779eee8228376754e22c6594229bf8f.tar.xz
ubifs: Set page uptodate in the correct place
Page cache reads are lockless, so setting the freshly allocated page uptodate before we've overwritten it with the data it's supposed to have in it will allow a simultaneous reader to see old data. Move the call to SetPageUptodate into ubifs_write_end(), which is after we copied the new data into the page. Fixes: 1e51764a3c2a ("UBIFS: add new flash file system") Cc: stable@vger.kernel.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/exfat/Kconfig')
0 files changed, 0 insertions, 0 deletions