iomap: rework unshare flag
authorChristoph Hellwig <hch@lst.de>
Wed, 11 Aug 2021 01:33:14 +0000 (18:33 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 17 Aug 2021 04:26:33 +0000 (21:26 -0700)
commitb74b1293e6cae70bade491067f15b9d33e040cad
tree35dad74b37e8d9c165cd456f3dc1cf39f72e689b
parent1b5c1e36dc0e0f15de9717e81508934cbc3daf15
iomap: rework unshare flag

Instead of another internal flags namespace inside of buffered-io.c,
just pass a UNSHARE hint in the main iomap flags field.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
fs/iomap/buffered-io.c
include/linux/iomap.h