]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2268de55caf48986cc2f0179baa5ac9a40261b71
treedc44b4422e2ba0bb3681e9e31295eebb8feede86
parent9cd4657a6140f40c4c6e8efb8d84f92bbcce19a8
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