linux/fs/ecryptfs
Roberto Sassu 0abe116947 ecryptfs: fixed testing of file descriptor flags
This patch replaces the check (lower_file->f_flags & O_RDONLY) with
((lower_file & O_ACCMODE) == O_RDONLY).

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
2011-01-17 11:24:43 -06:00
..
crypto.c eCryptfs: Fix encrypted file name lookup regression 2010-08-27 10:50:53 -05:00
debug.c eCryptfs: update comment and debug statement 2007-10-16 09:43:11 -07:00
dentry.c fs: rcu-walk aware d_revalidate method 2011-01-07 17:50:29 +11:00
ecryptfs_kernel.h ecryptfs: moved ECRYPTFS_SUPER_MAGIC definition to linux/magic.h 2011-01-17 10:44:31 -06:00
file.c ecryptfs: fixed testing of file descriptor flags 2011-01-17 11:24:43 -06:00
inode.c ecryptfs: test lower_file pointer when lower_file_mutex is locked 2011-01-17 11:24:42 -06:00
Kconfig eCryptfs: Remove Kconfig NET dependency and select MD5 2009-10-08 11:31:36 -05:00
keystore.c ecryptfs: added ecryptfs_mount_auth_tok_only mount parameter 2010-10-29 10:31:36 -05:00
kthread.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
main.c ecryptfs: missing initialization of the superblock 'magic' field 2011-01-17 11:23:01 -06:00
Makefile eCryptfs: remove netlink transport 2008-10-16 11:21:39 -07:00
messaging.c ecryptfs: properly mark init functions 2010-08-27 10:50:52 -05:00
miscdev.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
mmap.c switch ecryptfs_get_locked_page() to struct inode * 2010-05-21 18:31:28 -04:00
read_write.c switch ecryptfs_write() to struct inode *, kill on-stack fake files 2010-05-21 18:31:28 -04:00
super.c fs: icache RCU free inodes 2011-01-07 17:50:26 +11:00