gfs2: Move GIF_ALLOC_FAILED check out of gfs2_ea_dealloc
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 17 Apr 2025 23:09:32 +0000 (01:09 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Mon, 21 Apr 2025 16:20:36 +0000 (18:20 +0200)
commit0cc617a54dfe6b44624c9a03e2e11a24eb9bc720
tree3ec53e67d7e81ba952ea368563ae5e503339dd72
parentbcd18105fb34e27c097f222733dba9a3e79f191c
gfs2: Move GIF_ALLOC_FAILED check out of gfs2_ea_dealloc

Don't check for the GIF_ALLOC_FAILED flag in gfs2_ea_dealloc() and pass
that information explicitly instead.  This allows for a cleaner
follow-up patch.

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