diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2018-06-20 00:10:55 +0200 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-06-20 00:10:55 +0200 |
commit | 3d7b6b21f6c590c4d70b311bbdd78a214637c9c7 (patch) | |
tree | e9600c462c27ea792440797d5218f66b623e8e49 /fs/iomap.c | |
parent | fs: factor out a __generic_write_end helper (diff) | |
download | linux-3d7b6b21f6c590c4d70b311bbdd78a214637c9c7.tar.xz linux-3d7b6b21f6c590c4d70b311bbdd78a214637c9c7.zip |
iomap: mark newly allocated buffer heads as new
In iomap_to_bh, not only mark buffer heads in IOMAP_UNWRITTEN maps as
new, but also buffer heads in IOMAP_MAPPED maps with the IOMAP_F_NEW
flag set. This will be used by filesystems like gfs2, which allocate
blocks in iomap->begin.
Minor corrections to the comment for IOMAP_UNWRITTEN maps.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/iomap.c')
0 files changed, 0 insertions, 0 deletions