summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-06-07 02:29:04 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2024-11-03 09:28:07 +0300
commit38052c2dd71f5490f34bba21dc358e97fb205ee5 (patch)
treebd1422977552f7e394b218744cd3b3babb50f255 /include/linux
parent457a6549394cd680e935bc6743e832ac42f2603a (diff)
downloadlinux-38052c2dd71f5490f34bba21dc358e97fb205ee5.tar.xz
deal with the last remaing boolean uses of fd_file()
Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/cleanup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cleanup.h b/include/linux/cleanup.h
index 038b2d523bf8..875c998275c0 100644
--- a/include/linux/cleanup.h
+++ b/include/linux/cleanup.h
@@ -234,7 +234,7 @@ const volatile void * __must_check_fn(const volatile void *val)
* DEFINE_CLASS(fdget, struct fd, fdput(_T), fdget(fd), int fd)
*
* CLASS(fdget, f)(fd);
- * if (!fd_file(f))
+ * if (fd_empty(f))
* return -EBADF;
*
* // use 'f' without concern