diff options
author | Bob Peterson <rpeterso@redhat.com> | 2020-12-03 16:49:55 +0300 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2020-12-03 19:04:24 +0300 |
commit | dd64fe8167ba4cbda343f0a40c5a7c2143d48866 (patch) | |
tree | f79111054e1702b81c5c8e171930544a89129196 /virt | |
parent | 28c332b941a7850d3854a00353c83965f3670791 (diff) | |
download | linux-dd64fe8167ba4cbda343f0a40c5a7c2143d48866.tar.xz |
gfs2: Remove sb_start_write from gfs2_statfs_sync
Before this patch, function gfs2_statfs_sync called sb_start_write and
sb_end_write. This is completely unnecessary because, aside from grabbing
glocks, gfs2_statfs_sync does all its updates to statfs with a transaction:
gfs2_trans_begin and _end. And transactions always do sb_start_intwrite in
gfs2_trans_begin and sb_end_intwrite in gfs2_trans_end.
This patch simply removes the call to sb_start_write.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions