Revision 17cf28afea2a1112f240a3a2da8af883be024811 authored by Hugh Dickins on 29 May 2012, 22:06:41 UTC, committed by Linus Torvalds on 29 May 2012, 23:22:23 UTC
Remove vmtruncate_range(), and remove the truncate_range method from
struct inode_operations: only tmpfs ever supported it, and tmpfs has now
converted over to using the fallocate method of file_operations.

Update Documentation accordingly, adding (setlease and) fallocate lines.
And while we're in mm.h, remove duplicate declarations of shmem_lock() and
shmem_file_setup(): everyone is now using the ones in shmem_fs.h.

Based-on-patch-by: Cong Wang <amwang@redhat.com>
Signed-off-by: Hugh Dickins <hughd@google.com>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Cong Wang <amwang@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 3f31d07
History
File Mode Size
include
ss
.gitignore -rw-r--r-- 25 bytes
Kconfig -rw-r--r-- 5.1 KB
Makefile -rw-r--r-- 846 bytes
avc.c -rw-r--r-- 19.9 KB
exports.c -rw-r--r-- 709 bytes
hooks.c -rw-r--r-- 142.6 KB
netif.c -rw-r--r-- 7.1 KB
netlabel.c -rw-r--r-- 12.2 KB
netlink.c -rw-r--r-- 2.4 KB
netnode.c -rw-r--r-- 8.1 KB
netport.c -rw-r--r-- 6.6 KB
nlmsgtab.c -rw-r--r-- 6.0 KB
selinuxfs.c -rw-r--r-- 43.1 KB
xfrm.c -rw-r--r-- 10.6 KB

back to top