diff options
author | Yaowei Bai <baiyaowei@cmss.chinamobile.com> | 2015-11-17 14:40:10 +0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-06 21:17:13 -0500 |
commit | 25ab4c9b1ccb64b1433cecd3f19f28fe300c1576 (patch) | |
tree | 1a4a7062cc06d8a12d10bc7203fa1dffb8b4610a /fs/dcache.c | |
parent | 3e004eea56b4f2cb6768ebe9000c830eda0c71b1 (diff) | |
download | lwn-25ab4c9b1ccb64b1433cecd3f19f28fe300c1576.tar.gz lwn-25ab4c9b1ccb64b1433cecd3f19f28fe300c1576.zip |
fs/namespace.c: path_is_under can be boolean
This patch makes path_is_under return bool to improve
readability due to this particular function only using either
one or zero as its return value.
No functional change.
Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/dcache.c')
0 files changed, 0 insertions, 0 deletions