diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-04-13 18:58:33 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2021-04-13 18:58:33 +1000 |
commit | c03156f8d8b7420c9c53d5d37b5c1696a931cb6e (patch) | |
tree | ebfc85df4d9673aa974668b51aa2638a41f116da /include/linux/proc_fs.h | |
parent | f195cda9b95d03d27906f98a61456d47ced1c35b (diff) | |
parent | 3ad29d0ccd4c42afa271bc8529fb357adff944ec (diff) | |
download | linux-next-c03156f8d8b7420c9c53d5d37b5c1696a931cb6e.tar.gz |
Merge branch 'akpm-current/current'
Diffstat (limited to 'include/linux/proc_fs.h')
-rw-r--r-- | include/linux/proc_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/proc_fs.h b/include/linux/proc_fs.h index 000cc0533c33..069c7fd95396 100644 --- a/include/linux/proc_fs.h +++ b/include/linux/proc_fs.h @@ -32,6 +32,7 @@ struct proc_ops { ssize_t (*proc_read)(struct file *, char __user *, size_t, loff_t *); ssize_t (*proc_read_iter)(struct kiocb *, struct iov_iter *); ssize_t (*proc_write)(struct file *, const char __user *, size_t, loff_t *); + /* mandatory unless nonseekable_open() or equivalent is used */ loff_t (*proc_lseek)(struct file *, loff_t, int); int (*proc_release)(struct inode *, struct file *); __poll_t (*proc_poll)(struct file *, struct poll_table_struct *); |