mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 09:16:33 +00:00
05e555642c
With few exceptions emptiness checks are done as fd_file(...) in boolean context (usually something like if (!fd_file(f))...); those will be taken care of later. However, there's a couple of places where we do those checks as 'store fd_file(...) into a variable, then check if this variable is NULL' and those are harder to spot. Get rid of those now. use fd_empty() instead of extracting file and then checking it for NULL. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> |
||
---|---|---|
.. | ||
debug_kmemleak.c | ||
decompress.c | ||
dups.c | ||
internal.h | ||
kallsyms.c | ||
Kconfig | ||
kdb.c | ||
kmod.c | ||
livepatch.c | ||
main.c | ||
Makefile | ||
procfs.c | ||
signing.c | ||
stats.c | ||
strict_rwx.c | ||
sysfs.c | ||
tracking.c | ||
tree_lookup.c | ||
version.c |