diff options
author | Joe Perches <joe@perches.com> | 2014-09-29 19:08:25 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-11-05 14:13:23 -0500 |
commit | a3816ab0e8fe542a89a53b82506a8ddac063fbe3 (patch) | |
tree | ffbc4ef9fe5deb6c9af3473055e0854078e1c7aa /Documentation/filesystems | |
parent | f365ef9b79f01d69a01134b42fdff251a510b022 (diff) |
fs: Convert show_fdinfo functions to void
seq_printf functions shouldn't really check the return value.
Checking seq_has_overflowed() occasionally is used instead.
Update vfs documentation.
Link: http://lkml.kernel.org/p/e37e6e7b76acbdcc3bb4ab2a57c8f8ca1ae11b9a.1412031505.git.joe@perches.com
Cc: David S. Miller <davem@davemloft.net>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Joe Perches <joe@perches.com>
[ did a few clean ups ]
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/vfs.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index fceff7c00a3c..af1dbc1823bb 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -828,7 +828,7 @@ struct file_operations { | |||
828 | ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); | 828 | ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); |
829 | int (*setlease)(struct file *, long arg, struct file_lock **, void **); | 829 | int (*setlease)(struct file *, long arg, struct file_lock **, void **); |
830 | long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); | 830 | long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); |
831 | int (*show_fdinfo)(struct seq_file *m, struct file *f); | 831 | void (*show_fdinfo)(struct seq_file *m, struct file *f); |
832 | }; | 832 | }; |
833 | 833 | ||
834 | Again, all methods are called without any locks being held, unless | 834 | Again, all methods are called without any locks being held, unless |