summaryrefslogtreecommitdiff
path: root/init/noinitramfs.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-07-22 11:51:09 -0500
committerAndreas Gruenbacher <agruenba@redhat.com>2020-10-15 14:29:03 +0200
commit21b6924bb70e77c83d508b0d188d88f5e403f1f5 (patch)
treebb150fa91771b413017cfb4bb74c72b74df3f634 /init/noinitramfs.c
parent0ddc5154b24c96f20e94d653b0a814438de6032b (diff)
downloadlwn-21b6924bb70e77c83d508b0d188d88f5e403f1f5.tar.gz
lwn-21b6924bb70e77c83d508b0d188d88f5e403f1f5.zip
gfs2: rename gfs2_write_full_page to gfs2_write_jdata_page, remove parm
Since the function is only used for writing jdata pages, this patch simply renames function gfs2_write_full_page to a more appropriate name: gfs2_write_jdata_page. This makes the code easier to understand. The function was only called in one place, which passed in a pointer to function gfs2_get_block_noalloc. The function doesn't need to be passed in. Therefore, this also eliminates the unnecessary parameter to increase efficiency. I also took the liberty of cleaning up the function comments. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'init/noinitramfs.c')
0 files changed, 0 insertions, 0 deletions