xfs: move inode lease breaking functions to xfs_inode.c
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:07 +0000 (14:54 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 21:54:07 +0000 (14:54 -0700)
commita4db266a705c5518f3049074fd233b6c57daab00
tree13ad3f4c58ec54aff7996f266efb092247d6ea5d
parent5302a5c8beb21d01b7b8d92cc73b6871bc27d7bf
xfs: move inode lease breaking functions to xfs_inode.c

The lease breaking functions operate at the scope of the entire VFS
inode, not subranges of a file.  Move them to xfs_inode.c since they're
already declared in xfs_inode.h.  This cleanup moves us closer to
having xfs_FOO.h declare only the symbols in xfs_FOO.c.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
fs/xfs/xfs_file.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h