Skip to content

Commit 86509e3

Browse files
minipli-ossbrauner
authored andcommitted
file: fix typo in take_fd() comment
The explanatory comment above take_fd() contains a typo, fix that to not confuse readers. Signed-off-by: Mathias Krause <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
1 parent 3b5bbe7 commit 86509e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/file.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ DEFINE_CLASS(get_unused_fd, int, if (_T >= 0) put_unused_fd(_T),
110110
*
111111
* f = dentry_open(&path, O_RDONLY, current_cred());
112112
* if (IS_ERR(f))
113-
* return PTR_ERR(fd);
113+
* return PTR_ERR(f);
114114
*
115115
* fd_install(fd, f);
116116
* return take_fd(fd);

0 commit comments

Comments
 (0)