]> asedeno.scripts.mit.edu Git - linux.git/commit
gfs2: untangle the logic in gfs2_drevalidate
authorBob Peterson <rpeterso@redhat.com>
Tue, 6 Aug 2019 17:52:21 +0000 (13:52 -0400)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 3 Sep 2019 07:42:41 +0000 (09:42 +0200)
commit8c5ca11710b67b5f76b08d4bb25a576e3513a678
treec5b50d87197abdfc218c0dfe611bd613734784f8
parent0a6a4abc84668d102c8f0380c9bcb93eb87fa4b6
gfs2: untangle the logic in gfs2_drevalidate

Before this patch, function gfs2_drevalidate was a horrific tangle of
unreadable labels, cases and goto statements. This patch tries to
simplify the logic and make it more readable.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/dentry.c