android_kernel_samsung_msm8976/fs/ecryptfs
Andy Whitcroft 323ef68faf ecryptfs: read on a directory should return EISDIR if not supported
read() calls against a file descriptor connected to a directory are
incorrectly returning EINVAL rather than EISDIR:

  [EISDIR]
    [XSI] [Option Start] The fildes argument refers to a directory and the
    implementation does not allow the directory to be read using read()
    or pread(). The readdir() function should be used instead. [Option End]

This occurs because we do not have a .read operation defined for
ecryptfs directories.  Connect this up to generic_read_dir().

BugLink: http://bugs.launchpad.net/bugs/719691
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2011-02-21 14:46:36 -06:00
..
crypto.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
debug.c
dentry.c eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
ecryptfs_kernel.h eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
file.c ecryptfs: read on a directory should return EISDIR if not supported 2011-02-21 14:46:36 -06:00
inode.c eCryptfs: Handle NULL nameidata pointers 2011-02-21 14:45:57 -06:00
Kconfig
keystore.c ecryptfs: Fix ecryptfs_printk() size_t warnings 2011-01-17 13:01:24 -06:00
kthread.c
main.c fs/ecryptfs: Add printf format/argument verification and fix fallout 2011-01-17 13:01:23 -06:00
Makefile
messaging.c
miscdev.c
mmap.c ecryptfs: remove unnecessary decrypt when extending a file 2011-01-17 13:01:25 -06:00
read_write.c
super.c