projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
378b6cb
)
gfs2: use iomap_bmap instead of generic_block_bmap
author
Christoph Hellwig
<hch@lst.de>
Mon, 1 Jul 2019 21:54:36 +0000
(23:54 +0200)
committer
Andreas Gruenbacher
<agruenba@redhat.com>
Wed, 3 Jul 2019 12:45:18 +0000
(14:45 +0200)
No need to indirect through get_blocks and buffer_heads when we can just use
the iomap version.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
patch
|
blob
|
history
diff --git
a/fs/gfs2/aops.c
b/fs/gfs2/aops.c
index
8f90d98
..
f42048c
100644
(file)
--- a/
fs/gfs2/aops.c
+++ b/
fs/gfs2/aops.c
@@
-697,7
+697,7
@@
static sector_t gfs2_bmap(struct address_space *mapping, sector_t lblock)
return 0;
if (!gfs2_is_stuffed(ip))
- dblock =
generic_block_bmap(mapping, lblock, gfs2_block_map
);
+ dblock =
iomap_bmap(mapping, lblock, &gfs2_iomap_ops
);
gfs2_glock_dq_uninit(&i_gh);