[PATCH] eCryptfs: set O_LARGEFILE when opening lower file
O_LARGEFILE should be set here when opening the lower file. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Cc: Dmitriy Monakhov <dmonakhov@openvz.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
committed by
Linus Torvalds
parent
e109ebd1ee
commit
a8d547d5cf
@ -205,6 +205,7 @@ int ecryptfs_open_lower_file(struct file **lower_file,
|
||||
{
|
||||
int rc = 0;
|
||||
|
||||
flags |= O_LARGEFILE;
|
||||
dget(lower_dentry);
|
||||
mntget(lower_mnt);
|
||||
*lower_file = dentry_open(lower_dentry, lower_mnt, flags);
|
||||
|
Reference in New Issue
Block a user