]> www.infradead.org Git - users/hch/xfs.git/commit
xfs: don't bother returning errors from xfs_file_release
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Aug 2024 07:39:36 +0000 (09:39 +0200)
committerChandan Babu R <chandanbabu@kernel.org>
Tue, 3 Sep 2024 04:37:38 +0000 (10:07 +0530)
commit98e44e2bc0fb15230b10f375db55e4b0bbc295aa
treefa11f925f12477e47fd1d98849c22684409c74b7
parent5d3ca6261121486d4665816622ec1974bf4cb8b2
xfs: don't bother returning errors from xfs_file_release

While ->release returns int, the only caller ignores the return value.
As we're only doing cleanup work there isn't much of a point in
return a value to start with, so just document the situation instead.

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