linux/fs
Josef Bacik 06222e491e fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek
This converts everybody to handle SEEK_HOLE/SEEK_DATA properly.  In some cases
we just return -EINVAL, in others we do the normal generic thing, and in others
we're simply making sure that the properly due-dilligence is done.  For example
in NFS/CIFS we need to make sure the file size is update properly for the
SEEK_HOLE and SEEK_DATA case, but since it calls the generic llseek stuff itself
that is all we have to do.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2011-07-20 20:47:58 -04:00
..
9p no need to check for LOOKUP_OPEN in ->create() instances 2011-07-20 01:43:56 -04:00
adfs
affs
afs ->permission() sanitizing: don't pass flags to ->permission() 2011-07-20 01:43:24 -04:00
autofs4
befs
bfs
btrfs Btrfs: implement our own ->llseek 2011-07-20 20:47:56 -04:00
cachefiles kill useless checks for sb->s_op == NULL 2011-07-20 01:44:21 -04:00
ceph fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
cifs fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
coda don't open-code parent_ino() in assorted ->readdir() 2011-07-20 20:47:54 -04:00
configfs
cramfs cramfs: get_cramfs_inode() returns ERR_PTR() on failure 2011-07-17 23:22:02 -04:00
debugfs
devpts
dlm
ecryptfs don't pass nameidata to vfs_create() from ecryptfs_create() 2011-07-20 01:43:54 -04:00
efs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
exofs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
exportfs
ext2 fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
ext3 ext3: make ext3 mount default to barrier=1 2011-07-20 20:47:54 -04:00
ext4 Ext4: handle SEEK_HOLE/SEEK_DATA generically 2011-07-20 20:47:57 -04:00
fat fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
freevxfs
fscache FS-Cache: Add a helper to bulk uncache pages on an inode 2011-07-07 13:21:56 -07:00
fuse fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
gfs2 fs: move inode_dio_wait calls into ->setattr 2011-07-20 20:47:47 -04:00
hfs fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
hfsplus fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
hostfs ->permission() sanitizing: don't pass flags to ->permission() 2011-07-20 01:43:24 -04:00
hpfs fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
hppfs hppfs_lookup(): don't open-code lookup_one_len() 2011-07-17 23:22:48 -04:00
hugetlbfs
isofs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
jbd
jbd2
jffs2 make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
jfs fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
lockd
logfs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
minix minix_getattr(): don't bother with ->d_parent 2011-07-20 20:47:53 -04:00
ncpfs
nfs fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
nfs_common
nfsd nfsd4_list_rec_dir(): don't bother with reopening rec_file 2011-07-20 01:44:23 -04:00
nilfs2 fs: simplify the blockdev_direct_IO prototype 2011-07-20 20:47:49 -04:00
nls
notify
ntfs fs: kill i_alloc_sem 2011-07-20 20:47:46 -04:00
ocfs2 fs: move inode_dio_done to the end_io handler 2011-07-20 20:47:50 -04:00
omfs
openpromfs
partitions
proc fs: seq_file - add event counter to simplify poll() support 2011-07-20 20:47:50 -04:00
pstore
qnx4
quota
ramfs
reiserfs reiserfs: make reiserfs default to barrier=flush 2011-07-20 20:47:55 -04:00
romfs
squashfs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
sysfs ->permission() sanitizing: don't pass flags to ->permission() 2011-07-20 01:43:24 -04:00
sysv
ubifs
udf switch udf_ioctl() to inode_permission() 2011-07-20 01:43:07 -04:00
ufs make d_splice_alias(ERR_PTR(err), dentry) = ERR_PTR(err) 2011-07-20 01:44:26 -04:00
xfs fs: move inode_dio_done to the end_io handler 2011-07-20 20:47:50 -04:00
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c fs: move inode_dio_wait calls into ->setattr 2011-07-20 20:47:47 -04:00
bad_inode.c ->permission() sanitizing: don't pass flags to ->permission() 2011-07-20 01:43:24 -04:00
binfmt_aout.c
binfmt_elf.c consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling 2011-07-20 01:43:10 -04:00
binfmt_elf_fdpic.c consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling 2011-07-20 01:43:10 -04:00
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling 2011-07-20 01:43:10 -04:00
binfmt_script.c
binfmt_som.c
bio-integrity.c
bio.c
block_dev.c fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek 2011-07-20 20:47:58 -04:00
buffer.c
char_dev.c
compat.c
compat_binfmt_elf.c
compat_ioctl.c
dcache.c superblock: introduce per-sb cache shrinker infrastructure 2011-07-20 20:47:10 -04:00
dcookies.c
direct-io.c fs: move inode_dio_done to the end_io handler 2011-07-20 20:47:50 -04:00
drop_caches.c
eventfd.c
eventpoll.c
exec.c consolidate BINPRM_FLAGS_ENFORCE_NONDUMP handling 2011-07-20 01:43:10 -04:00
fcntl.c
fhandle.c
fifo.c
file.c
file_table.c
filesystems.c
fs-writeback.c superblock: move pin_sb_for_writeback() to fs/super.c 2011-07-20 01:44:38 -04:00
fs_struct.c
generic_acl.c ->permission() sanitizing: don't pass flags to ->check_acl() 2011-07-20 01:43:21 -04:00
inode.c fs: kill i_alloc_sem 2011-07-20 20:47:46 -04:00
internal.h superblock: move pin_sb_for_writeback() to fs/super.c 2011-07-20 01:44:38 -04:00
ioctl.c
ioprio.c
libfs.c Make ->d_sb assign-once and always non-NULL 2011-07-20 01:44:17 -04:00
locks.c
mbcache.c
mpage.c
namei.c VFS: Fixup kerneldoc for generic_permission() 2011-07-20 20:47:43 -04:00
namespace.c fs: seq_file - add event counter to simplify poll() support 2011-07-20 20:47:50 -04:00
nfsctl.c
no-block.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
read_write.c fs: add SEEK_HOLE and SEEK_DATA flags 2011-07-20 20:47:56 -04:00
read_write.h
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c vfs: increase shrinker batch size 2011-07-20 20:47:41 -04:00
sync.c
timerfd.c
utimes.c
xattr.c
xattr_acl.c