mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 20:34:20 +08:00
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>
This commit is contained in:
parent
a8f1d32d0f
commit
ba3ca2bcf4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user