diff options
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/vfs.txt | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index deb48b5fd883..c53784c119c8 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -782,7 +782,7 @@ struct file_operations | |||
782 | ---------------------- | 782 | ---------------------- |
783 | 783 | ||
784 | This describes how the VFS can manipulate an open file. As of kernel | 784 | This describes how the VFS can manipulate an open file. As of kernel |
785 | 3.5, the following members are defined: | 785 | 3.12, the following members are defined: |
786 | 786 | ||
787 | struct file_operations { | 787 | struct file_operations { |
788 | struct module *owner; | 788 | struct module *owner; |
@@ -803,9 +803,6 @@ struct file_operations { | |||
803 | int (*aio_fsync) (struct kiocb *, int datasync); | 803 | int (*aio_fsync) (struct kiocb *, int datasync); |
804 | int (*fasync) (int, struct file *, int); | 804 | int (*fasync) (int, struct file *, int); |
805 | int (*lock) (struct file *, int, struct file_lock *); | 805 | int (*lock) (struct file *, int, struct file_lock *); |
806 | ssize_t (*readv) (struct file *, const struct iovec *, unsigned long, loff_t *); | ||
807 | ssize_t (*writev) (struct file *, const struct iovec *, unsigned long, loff_t *); | ||
808 | ssize_t (*sendfile) (struct file *, loff_t *, size_t, read_actor_t, void *); | ||
809 | ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); | 806 | ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); |
810 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); | 807 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); |
811 | int (*check_flags)(int); | 808 | int (*check_flags)(int); |
@@ -814,6 +811,7 @@ struct file_operations { | |||
814 | ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); | 811 | ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); |
815 | int (*setlease)(struct file *, long arg, struct file_lock **); | 812 | int (*setlease)(struct file *, long arg, struct file_lock **); |
816 | long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); | 813 | long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); |
814 | int (*show_fdinfo)(struct seq_file *m, struct file *f); | ||
817 | }; | 815 | }; |
818 | 816 | ||
819 | Again, all methods are called without any locks being held, unless | 817 | Again, all methods are called without any locks being held, unless |
@@ -864,12 +862,6 @@ otherwise noted. | |||
864 | lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW | 862 | lock: called by the fcntl(2) system call for F_GETLK, F_SETLK, and F_SETLKW |
865 | commands | 863 | commands |
866 | 864 | ||
867 | readv: called by the readv(2) system call | ||
868 | |||
869 | writev: called by the writev(2) system call | ||
870 | |||
871 | sendfile: called by the sendfile(2) system call | ||
872 | |||
873 | get_unmapped_area: called by the mmap(2) system call | 865 | get_unmapped_area: called by the mmap(2) system call |
874 | 866 | ||
875 | check_flags: called by the fcntl(2) system call for F_SETFL command | 867 | check_flags: called by the fcntl(2) system call for F_SETFL command |