gfs2: nit: gfs2_drop_inode shouldn't return bool
authorBob Peterson <rpeterso@redhat.com>
Thu, 29 Jul 2021 12:34:39 +0000 (07:34 -0500)
committerBob Peterson <rpeterso@redhat.com>
Fri, 20 Aug 2021 14:03:46 +0000 (09:03 -0500)
Today, gfs2_drop_inode can return "false" for an int value.
I'm sure this was just an oversight. Change to int value.

Signed-off-by: Bob Peterson <rpeterso@redhat.com>
fs/gfs2/super.c

index 0a5b7dfa7a452f55aa9369543177f6c93bb54ee2..6e00d15ef0a824552f3638abc70da482748d5212 100644 (file)
@@ -947,7 +947,7 @@ static int gfs2_drop_inode(struct inode *inode)
                gfs2_glock_hold(gl);
                if (!gfs2_queue_delete_work(gl, 0))
                        gfs2_glock_queue_put(gl);
-               return false;
+               return 0;
        }
 
        return generic_drop_inode(inode);