summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-07-29 15:34:39 +0300
committerBob Peterson <rpeterso@redhat.com>2021-08-20 17:03:46 +0300
commitba3ca2bcf4aa20670849f621f059b3657fd7614a (patch)
tree29350adf3d7d6524bc7c8c75ee50058cf43c4754 /fs/gfs2
parenta8f1d32d0f04354ee4dddb83072413f2c299a192 (diff)
downloadlinux-ba3ca2bcf4aa20670849f621f059b3657fd7614a.tar.xz
gfs2: nit: gfs2_drop_inode shouldn't return bool
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>
Diffstat (limited to 'fs/gfs2')
-rw-r--r--fs/gfs2/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/super.c b/fs/gfs2/super.c
index 0a5b7dfa7a45..6e00d15ef0a8 100644
--- a/fs/gfs2/super.c
+++ b/fs/gfs2/super.c
@@ -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);