]> git.baikalelectronics.ru Git - kernel.git/commit
gfs2: Check for active reservation in gfs2_release
authorAndreas Gruenbacher <agruenba@redhat.com>
Wed, 21 Oct 2020 14:37:54 +0000 (16:37 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Wed, 17 Feb 2021 18:26:05 +0000 (19:26 +0100)
commit9412db921e80a001de0095ae9a356ec64bfa3c4e
treea711fbabeadc02e8ced75544e2ec280a31a2cbf0
parent8638755e95e0770d18e84131ce753d08cba7817e
gfs2: Check for active reservation in gfs2_release

In gfs2_release, check if the inode has an active reservation to avoid
unnecessary lock taking.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/file.c