diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2019-04-05 12:16:14 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruenba@redhat.com> | 2019-05-07 23:39:14 +0200 |
commit | a5b1d3fc503164bb04e2b720054ab07d8a0004fc (patch) | |
tree | 2befe2b0136b720305f684de5e3ffb638dcdf325 /fs/gfs2/trans.c | |
parent | 32ac43f6a4ebf398c82e4b541fbe1229b2e47384 (diff) | |
download | linux-a5b1d3fc503164bb04e2b720054ab07d8a0004fc.tar.bz2 |
gfs2: Rename sd_log_le_{revoke,ordered}
Rename sd_log_le_revoke to sd_log_revokes and sd_log_le_ordered to
sd_log_ordered: not sure what le stands for here, but it doesn't add
clarity, and if it stands for list entry, it's actually confusing as
those are both list heads but not list entries.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/trans.c')
-rw-r--r-- | fs/gfs2/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/trans.c b/fs/gfs2/trans.c index cd9a94a6b5bb..5c4eae3b69fb 100644 --- a/fs/gfs2/trans.c +++ b/fs/gfs2/trans.c @@ -260,7 +260,7 @@ void gfs2_trans_add_unrevoke(struct gfs2_sbd *sdp, u64 blkno, unsigned int len) unsigned int n = len; gfs2_log_lock(sdp); - list_for_each_entry_safe(bd, tmp, &sdp->sd_log_le_revoke, bd_list) { + list_for_each_entry_safe(bd, tmp, &sdp->sd_log_revokes, bd_list) { if ((bd->bd_blkno >= blkno) && (bd->bd_blkno < (blkno + len))) { list_del_init(&bd->bd_list); gfs2_assert_withdraw(sdp, sdp->sd_log_num_revoke); |