aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2022-01-31 21:20:10 +0000
committerDarrick J. Wong <[email protected]>2022-02-01 22:14:48 +0000
commitcea267c235e1b1ec3bfc415f6bd420289bcb3bc9 (patch)
tree56b0df7dc5a9fff9cbb5b476fab4121358ce80f9 /lib/string_helpers.c
parentxfs: move xfs_update_prealloc_flags() to xfs_pnfs.c (diff)
downloadkernel-cea267c235e1b1ec3bfc415f6bd420289bcb3bc9.tar.gz
kernel-cea267c235e1b1ec3bfc415f6bd420289bcb3bc9.zip
xfs: ensure log flush at the end of a synchronous fallocate call
Since we've started treating fallocate more like a file write, we should flush the log to disk if the user has asked for synchronous writes either by setting it via fcntl flags, or inode flags, or with the sync mount option. We've already got a helper for this, so use it. [The original patch by Darrick was massaged by Dave to fit this patchset] Signed-off-by: Darrick J. Wong <[email protected]> Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions