]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: make the function check_dnode have a return type of bool and change it's name...
authorNicholas Krause <xerofoify@gmail.com>
Wed, 1 Jul 2015 01:37:21 +0000 (21:37 -0400)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:56 +0000 (14:09 -0700)
commitc1079892f4e8ecfd1bbc525cbfc1bd46b470888e
tree0400e55f2dd3d4e63eda4ee9632c35f12270028c
parent84bc926c076963d5b992640f5c8d242754801fd6
f2fs: make the function check_dnode have a return type of bool and change it's name to is_alive

This makes the function check_dnode have a return type of bool
due to this particular function only ever returning either one
or zero as its return value and changes the name of the function
to is_alive in order to better explain this function's intended
work of checking if a dnode is still in use by the filesystem.

Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
[Jaegeuk Kim: change the return value check for the renamed function]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/gc.c