summaryrefslogtreecommitdiffstats
path: root/fs/mpage.c
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2023-01-19 10:51:21 +0100
committerJan Kara <jack@suse.cz>2023-01-26 16:46:35 +0100
commit3c21204818ae45504b5d8ce8902748ef2306f0f3 (patch)
tree5768468b7032d20266917b5fb0f61ee614f6ce5c /fs/mpage.c
parentb9a861fd527ab123e76effb492b4eb7e8115d4ca (diff)
downloadlinux-3c21204818ae45504b5d8ce8902748ef2306f0f3.tar.gz
linux-3c21204818ae45504b5d8ce8902748ef2306f0f3.tar.bz2
linux-3c21204818ae45504b5d8ce8902748ef2306f0f3.zip
udf: Allocate blocks on write page fault
Currently if file with holes is mapped, udf allocates blocks for dirtied pages during page writeback. This however creates problems when to truncate final extent to proper size and currently we leave the last extent untruncated which violates UDF standard. So allocate blocks on write page fault instead. In that case the last extent gets truncated the file is closed and everything is happy. Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions