Skip to content

Commit 75abe32

Browse files
Li QiangAl Viro
authored andcommitted
fs.h: fix outdated comment about file flags
The __dentry_open function was removed in commit <2a027e7a18738>("fold __dentry_open() into its sole caller"). Signed-off-by: Li Qiang <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent e919328 commit 75abe32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/fs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,
9494

9595
/*
9696
* flags in file.f_mode. Note that FMODE_READ and FMODE_WRITE must correspond
97-
* to O_WRONLY and O_RDWR via the strange trick in __dentry_open()
97+
* to O_WRONLY and O_RDWR via the strange trick in do_dentry_open()
9898
*/
9999

100100
/* file is open for reading */

0 commit comments

Comments
 (0)