]> git.ipfire.org Git - people/ms/linux.git/commit - fs/gfs2/xattr.c
gfs2: Minor gfs2_glock_nq_m cleanup
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 14 Jun 2022 19:55:45 +0000 (21:55 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 28 Jun 2022 18:38:15 +0000 (20:38 +0200)
commit44dab005fd4298c209ea32ffda6131cad4358d21
treedc44b4422e2ba0bb3681e9e31295eebb8feede86
parentfe39dc98fb241a67f4a5a5eb6f842a05c4e316b8
gfs2: Minor gfs2_glock_nq_m cleanup

Add state and flags arguments to gfs2_rlist_alloc() to make it somewhat more
obvious which state and flags an rlist uses.  With that, stop knocking off
flags in gfs2_glock_nq_m() and its nq_m_sync() helper that are never set in the
first place.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/dir.c
fs/gfs2/glock.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/xattr.c