diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 23:01:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-06-24 23:01:36 -0400 |
commit | 1e467e68e51b116e026247d0defc806b462c095e (patch) | |
tree | 87203f5dbb1cb24402aa966153ce49d176cc47db /Documentation/filesystems | |
parent | 14738e03312ff1137109d68bcbf103c738af0f4a (diff) | |
parent | 36f95a0b34cb980dcfff9c1082ca5d8f0dc5e78b (diff) |
Merge tag 'docs-for-linus' of git://git.lwn.net/linux-2.6
Pull documentation updates from Jonathan Corbet:
"The main thing here is Ingo's big subdirectory documenting feature
support for each architecture. Beyond that, it's the usual pile of
fixes, tweaks, and small additions"
* tag 'docs-for-linus' of git://git.lwn.net/linux-2.6: (79 commits)
doc:md: fix typo in md.txt.
Documentation/mic/mpssd: don't build x86 userspace when cross compiling
Documentation/prctl: don't build tsc tests when cross compiling
Documentation/vDSO: don't build tests when cross compiling
Doc:ABI/testing: Fix typo in sysfs-bus-fcoe
Doc: Docbook: Change wikipedia's URL from http to https in scsi.tmpl
Doc: Change wikipedia's URL from http to https
Documentation/kernel-parameters: add missing pciserial to the earlyprintk
Doc:pps: Fix typo in pps.txt
kbuild : Fix documentation of INSTALL_HDR_PATH
Documentation: filesystems: updated struct file_operations documentation in vfs.txt
kbuild: edit explanation of clean-files variable
Doc: ja_JP: Fix typo in HOWTO
Move freefall program from Documentation/ to tools/
Documentation: ARM: EXYNOS: Describe boot loaders interface
Doc:nfc: Fix typo in nfc-hci.txt
vfs: Minor documentation fix
Doc: networking: txtimestamp: fix printf format warning
Documentation, intel_pstate: Improve legacy mode internal governors description
Documentation: extend use case for EXPORT_SYMBOL_GPL()
...
Diffstat (limited to 'Documentation/filesystems')
-rw-r--r-- | Documentation/filesystems/porting | 8 | ||||
-rw-r--r-- | Documentation/filesystems/proc.txt | 3 | ||||
-rw-r--r-- | Documentation/filesystems/vfs.txt | 17 |
3 files changed, 17 insertions, 11 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting index 3eae250254d5..68f1c9106573 100644 --- a/Documentation/filesystems/porting +++ b/Documentation/filesystems/porting | |||
@@ -379,10 +379,10 @@ may now be called in rcu-walk mode (nd->flags & LOOKUP_RCU). -ECHILD should be | |||
379 | returned if the filesystem cannot handle rcu-walk. See | 379 | returned if the filesystem cannot handle rcu-walk. See |
380 | Documentation/filesystems/vfs.txt for more details. | 380 | Documentation/filesystems/vfs.txt for more details. |
381 | 381 | ||
382 | permission and check_acl are inode permission checks that are called | 382 | permission is an inode permission check that is called on many or all |
383 | on many or all directory inodes on the way down a path walk (to check for | 383 | directory inodes on the way down a path walk (to check for exec permission). It |
384 | exec permission). These must now be rcu-walk aware (flags & IPERM_FLAG_RCU). | 384 | must now be rcu-walk aware (mask & MAY_NOT_BLOCK). See |
385 | See Documentation/filesystems/vfs.txt for more details. | 385 | Documentation/filesystems/vfs.txt for more details. |
386 | 386 | ||
387 | -- | 387 | -- |
388 | [mandatory] | 388 | [mandatory] |
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index c3b6b301d8b0..6f7fafde0884 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -205,7 +205,7 @@ asynchronous manner and the value may not be very precise. To see a precise | |||
205 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. | 205 | snapshot of a moment, you can see /proc/<pid>/smaps file and scan page table. |
206 | It's slow but very precise. | 206 | It's slow but very precise. |
207 | 207 | ||
208 | Table 1-2: Contents of the status files (as of 3.20.0) | 208 | Table 1-2: Contents of the status files (as of 4.1) |
209 | .............................................................................. | 209 | .............................................................................. |
210 | Field Content | 210 | Field Content |
211 | Name filename of the executable | 211 | Name filename of the executable |
@@ -235,6 +235,7 @@ Table 1-2: Contents of the status files (as of 3.20.0) | |||
235 | VmExe size of text segment | 235 | VmExe size of text segment |
236 | VmLib size of shared library code | 236 | VmLib size of shared library code |
237 | VmPTE size of page table entries | 237 | VmPTE size of page table entries |
238 | VmPMD size of second level page tables | ||
238 | VmSwap size of swap usage (the number of referred swapents) | 239 | VmSwap size of swap usage (the number of referred swapents) |
239 | Threads number of threads | 240 | Threads number of threads |
240 | SigQ number of signals queued/max. number for queue | 241 | SigQ number of signals queued/max. number for queue |
diff --git a/Documentation/filesystems/vfs.txt b/Documentation/filesystems/vfs.txt index b403b29ef710..5eb8456fc41e 100644 --- a/Documentation/filesystems/vfs.txt +++ b/Documentation/filesystems/vfs.txt | |||
@@ -799,7 +799,7 @@ struct file_operations | |||
799 | ---------------------- | 799 | ---------------------- |
800 | 800 | ||
801 | This describes how the VFS can manipulate an open file. As of kernel | 801 | This describes how the VFS can manipulate an open file. As of kernel |
802 | 3.12, the following members are defined: | 802 | 4.1, the following members are defined: |
803 | 803 | ||
804 | struct file_operations { | 804 | struct file_operations { |
805 | struct module *owner; | 805 | struct module *owner; |
@@ -813,8 +813,9 @@ struct file_operations { | |||
813 | long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); | 813 | long (*unlocked_ioctl) (struct file *, unsigned int, unsigned long); |
814 | long (*compat_ioctl) (struct file *, unsigned int, unsigned long); | 814 | long (*compat_ioctl) (struct file *, unsigned int, unsigned long); |
815 | int (*mmap) (struct file *, struct vm_area_struct *); | 815 | int (*mmap) (struct file *, struct vm_area_struct *); |
816 | int (*mremap)(struct file *, struct vm_area_struct *); | ||
816 | int (*open) (struct inode *, struct file *); | 817 | int (*open) (struct inode *, struct file *); |
817 | int (*flush) (struct file *); | 818 | int (*flush) (struct file *, fl_owner_t id); |
818 | int (*release) (struct inode *, struct file *); | 819 | int (*release) (struct inode *, struct file *); |
819 | int (*fsync) (struct file *, loff_t, loff_t, int datasync); | 820 | int (*fsync) (struct file *, loff_t, loff_t, int datasync); |
820 | int (*aio_fsync) (struct kiocb *, int datasync); | 821 | int (*aio_fsync) (struct kiocb *, int datasync); |
@@ -824,11 +825,15 @@ struct file_operations { | |||
824 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); | 825 | unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); |
825 | int (*check_flags)(int); | 826 | int (*check_flags)(int); |
826 | int (*flock) (struct file *, int, struct file_lock *); | 827 | int (*flock) (struct file *, int, struct file_lock *); |
827 | ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, size_t, unsigned int); | 828 | ssize_t (*splice_write)(struct pipe_inode_info *, struct file *, loff_t *, size_t, unsigned int); |
828 | ssize_t (*splice_read)(struct file *, struct pipe_inode_info *, size_t, unsigned int); | 829 | ssize_t (*splice_read)(struct file *, loff_t *, struct pipe_inode_info *, size_t, unsigned int); |
829 | int (*setlease)(struct file *, long arg, struct file_lock **, void **); | 830 | int (*setlease)(struct file *, long, struct file_lock **, void **); |
830 | long (*fallocate)(struct file *, int mode, loff_t offset, loff_t len); | 831 | long (*fallocate)(struct file *file, int mode, loff_t offset, |
832 | loff_t len); | ||
831 | void (*show_fdinfo)(struct seq_file *m, struct file *f); | 833 | void (*show_fdinfo)(struct seq_file *m, struct file *f); |
834 | #ifndef CONFIG_MMU | ||
835 | unsigned (*mmap_capabilities)(struct file *); | ||
836 | #endif | ||
832 | }; | 837 | }; |
833 | 838 | ||
834 | Again, all methods are called without any locks being held, unless | 839 | Again, all methods are called without any locks being held, unless |