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
avtab.c -rw-r--r-- 13.4 KB
avtab.h -rw-r--r-- 2.8 KB
conditional.c -rw-r--r-- 13.9 KB
conditional.h -rw-r--r-- 2.3 KB
constraint.h -rw-r--r-- 2.0 KB
context.h -rw-r--r-- 4.0 KB
ebitmap.c -rw-r--r-- 11.2 KB
ebitmap.h -rw-r--r-- 4.1 KB
hashtab.c -rw-r--r-- 2.9 KB
hashtab.h -rw-r--r-- 2.5 KB
mls.c -rw-r--r-- 15.8 KB
mls.h -rw-r--r-- 2.5 KB
mls_types.h -rw-r--r-- 1.2 KB
policydb.c -rw-r--r-- 68.7 KB
policydb.h -rw-r--r-- 9.5 KB
services.c -rw-r--r-- 74.8 KB
services.h -rw-r--r-- 260 bytes
sidtab.c -rw-r--r-- 5.9 KB
sidtab.h -rw-r--r-- 1.5 KB
status.c -rw-r--r-- 3.4 KB
symtab.c -rw-r--r-- 850 bytes
symtab.h -rw-r--r-- 563 bytes

back to top