]> git.baikalelectronics.ru Git - kernel.git/commit
iomap: inline data should be an iomap type, not a flag
authorChristoph Hellwig <hch@lst.de>
Fri, 1 Jun 2018 16:03:06 +0000 (09:03 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Sat, 2 Jun 2018 01:37:32 +0000 (18:37 -0700)
commitdccc9de3ca1a7a9eaca4c5656b31c25eec9325b5
treed0379f5b72aea5bbd5cf8d20738daa9aca93ff54
parentcb15bcb56ea110828561219f3bb34bccd005fca6
iomap: inline data should be an iomap type, not a flag

Inline data is fundamentally different from our normal mapped case in that
it doesn't even have a block address.  So instead of having a flag for it
it should be an entirely separate iomap range type.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/ext4/inline.c
fs/gfs2/bmap.c
fs/iomap.c
include/linux/iomap.h