Skip to content

Commit

Permalink
fs.h: fix outdated comment about file flags
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Li Qiang authored and Al Viro committed May 18, 2018
1 parent e919328 commit 75abe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ typedef int (dio_iodone_t)(struct kiocb *iocb, loff_t offset,

/*
* flags in file.f_mode. Note that FMODE_READ and FMODE_WRITE must correspond
* to O_WRONLY and O_RDWR via the strange trick in __dentry_open()
* to O_WRONLY and O_RDWR via the strange trick in do_dentry_open()
*/

/* file is open for reading */
Expand Down

0 comments on commit 75abe32

Please sign in to comment.