]> 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)
commitd07d26ddc877dbf10d18aee689533133c9474046
treedc44b4422e2ba0bb3681e9e31295eebb8feede86
parent3427b7b88f2d6e778d8a84fcff8e41b19e5192a8
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