diff options
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r-- | fs/ecryptfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c index bbc1b4f666fe..7d3391712027 100644 --- a/fs/ecryptfs/inode.c +++ b/fs/ecryptfs/inode.c | |||
@@ -201,7 +201,7 @@ static int ecryptfs_initialize_file(struct dentry *ecryptfs_dentry) | |||
201 | lower_dentry->d_name.name); | 201 | lower_dentry->d_name.name); |
202 | inode = ecryptfs_dentry->d_inode; | 202 | inode = ecryptfs_dentry->d_inode; |
203 | crypt_stat = &ecryptfs_inode_to_private(inode)->crypt_stat; | 203 | crypt_stat = &ecryptfs_inode_to_private(inode)->crypt_stat; |
204 | lower_flags = ((O_CREAT | O_WRONLY | O_TRUNC) & O_ACCMODE) | O_RDWR; | 204 | lower_flags = ((O_CREAT | O_TRUNC) & O_ACCMODE) | O_RDWR; |
205 | #if BITS_PER_LONG != 32 | 205 | #if BITS_PER_LONG != 32 |
206 | lower_flags |= O_LARGEFILE; | 206 | lower_flags |= O_LARGEFILE; |
207 | #endif | 207 | #endif |