diff options
| author | Darrick J. Wong <[email protected]> | 2024-04-15 21:54:07 +0000 |
|---|---|---|
| committer | Darrick J. Wong <[email protected]> | 2024-04-15 21:54:07 +0000 |
| commit | a4db266a705c5518f3049074fd233b6c57daab00 (patch) | |
| tree | 13ad3f4c58ec54aff7996f266efb092247d6ea5d /fs/xfs/xfs_inode.h | |
| parent | xfs: only clear log incompat flags at clean unmount (diff) | |
| download | kernel-a4db266a705c5518f3049074fd233b6c57daab00.tar.gz kernel-a4db266a705c5518f3049074fd233b6c57daab00.zip | |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_inode.h')
| -rw-r--r-- | fs/xfs/xfs_inode.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode.h b/fs/xfs/xfs_inode.h index ab46ffb3ac19..5164c5d3e549 100644 --- a/fs/xfs/xfs_inode.h +++ b/fs/xfs/xfs_inode.h @@ -565,7 +565,6 @@ xfs_itruncate_extents( return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0); } -/* from xfs_file.c */ int xfs_break_dax_layouts(struct inode *inode, bool *retry); int xfs_break_layouts(struct inode *inode, uint *iolock, enum layout_break_reason reason); |
