projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8f1d32
)
gfs2: nit: gfs2_drop_inode shouldn't return bool
author
Bob Peterson
<rpeterso@redhat.com>
Thu, 29 Jul 2021 12:34:39 +0000
(07:34 -0500)
committer
Bob 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
patch
|
blob
|
history
diff --git
a/fs/gfs2/super.c
b/fs/gfs2/super.c
index 0a5b7dfa7a452f55aa9369543177f6c93bb54ee2..6e00d15ef0a824552f3638abc70da482748d5212 100644
(file)
--- 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);