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
Kconfig -rw-r--r-- 2.8 KB
Makefile -rw-r--r-- 545 bytes
core-card.c -rw-r--r-- 19.5 KB
core-cdev.c -rw-r--r-- 46.5 KB
core-device.c -rw-r--r-- 33.1 KB
core-iso.c -rw-r--r-- 10.3 KB
core-topology.c -rw-r--r-- 14.9 KB
core-transaction.c -rw-r--r-- 34.7 KB
core.h -rw-r--r-- 7.3 KB
init_ohci1394_dma.c -rw-r--r-- 9.6 KB
net.c -rw-r--r-- 43.2 KB
nosy-user.h -rw-r--r-- 590 bytes
nosy.c -rw-r--r-- 17.3 KB
nosy.h -rw-r--r-- 9.7 KB
ohci.c -rw-r--r-- 102.7 KB
ohci.h -rw-r--r-- 7.0 KB
sbp2.c -rw-r--r-- 47.4 KB

back to top