]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
xfs: remove xfs_iread
authorChristoph Hellwig <hch@lst.de>
Thu, 14 May 2020 21:01:19 +0000 (14:01 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 19 May 2020 16:40:57 +0000 (09:40 -0700)
commitbb8a66af4fff1cecb7631c68af761ea8e1a41ac2
treefe56e6003431b4b3ab6587792582fa29685679e6
parent7f0290123506e2b248fe06fa7cdc17c1b5b603b5
xfs: remove xfs_iread

There is not much point in the xfs_iread function, as it has a single
caller and not a whole lot of code.  Move it into the only caller,
and trim down the overdocumentation to just documenting the important
"why" instead of a lot of redundant "what".

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_inode_buf.c
fs/xfs/libxfs/xfs_inode_buf.h
fs/xfs/xfs_icache.c