]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: iomap_read_inline_data cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 24 Nov 2021 18:15:47 +0000 (10:15 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 24 Nov 2021 18:15:47 +0000 (10:15 -0800)
commit96c690b980cfc717894d0a98ec57e82126a5655a
treecca6649710ee7da623ff7511ca186b04ff66a742
parente62c41a9bb68f1f6395179f80eee4e4c73e0f109
iomap: iomap_read_inline_data cleanup

Change iomap_read_inline_data to return 0 or an error code; this
simplifies the callers.  Add a description.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
[djwong: document the return value of iomap_read_inline_data explicitly]
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c