xfs: remove XFS_PREALLOC_SYNC
authorDave Chinner <dchinner@redhat.com>
Mon, 31 Jan 2022 21:20:08 +0000 (13:20 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 1 Feb 2022 22:14:48 +0000 (14:14 -0800)
commit472c6e46f589c26057596dcba160712a5b3e02c5
tree4260c84833e1fca310f213ee2d2f386b96581c0e
parent29d650f7e3ab55283b89c9f5883d0c256ce478b5
xfs: remove XFS_PREALLOC_SYNC

Callers can acheive the same thing by calling xfs_log_force_inode()
after making their modifications. There is no need for
xfs_update_prealloc_flags() to do this.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_pnfs.c