diff options
author | Dave Chinner <dchinner@redhat.com> | 2022-01-31 13:20:10 -0800 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-02-01 14:14:48 -0800 |
commit | b39a04636fd7454911b80e7b5ab2a66b011a8145 (patch) | |
tree | 41569e6efe8090b9dfe06ad161fbbc3572c3c3b5 /fs/xfs/xfs_inode.h | |
parent | 0b02c8c0d75a738c98c35f02efb36217c170d78c (diff) | |
download | lwn-b39a04636fd7454911b80e7b5ab2a66b011a8145.tar.gz lwn-b39a04636fd7454911b80e7b5ab2a66b011a8145.zip |
xfs: move xfs_update_prealloc_flags() to xfs_pnfs.c
The operations that xfs_update_prealloc_flags() perform are now
unique to xfs_fs_map_blocks(), so move xfs_update_prealloc_flags()
to be a static function in xfs_pnfs.c and cut out all the
other functionality that is doesn't use anymore.
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>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
-rw-r--r-- | fs/xfs/xfs_inode.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index 3fc6d77f5be9..b7e8f14d9fca 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -462,14 +462,6 @@ xfs_itruncate_extents( } /* from xfs_file.c */ -enum xfs_prealloc_flags { - XFS_PREALLOC_SET = (1 << 1), - XFS_PREALLOC_CLEAR = (1 << 2), - XFS_PREALLOC_INVISIBLE = (1 << 3), -}; - -int xfs_update_prealloc_flags(struct xfs_inode *ip, - enum xfs_prealloc_flags flags); int xfs_break_layouts(struct inode *inode, uint *iolock, enum layout_break_reason reason); |