diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-23 09:21:37 -0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-03-17 21:19:42 -0700 |
commit | 8074bb515014d281a6f5f1218648aa3abd9c22ab (patch) | |
tree | e40dc1a7d5d8f7bf26d911169c9b1ddd1c3752d7 /fs/f2fs/dir.c | |
parent | 0b81d0779072696371822e5ed9e7c6292e547024 (diff) | |
download | linux-stable-8074bb515014d281a6f5f1218648aa3abd9c22ab.tar.gz linux-stable-8074bb515014d281a6f5f1218648aa3abd9c22ab.tar.bz2 linux-stable-8074bb515014d281a6f5f1218648aa3abd9c22ab.zip |
f2fs crypto: sync ext4_lookup and ext4_file_open
This patch tries to catch up with lookup and open policies in ext4.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/dir.c')
-rw-r--r-- | fs/f2fs/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/dir.c b/fs/f2fs/dir.c index f82e28b121a8..479467e442ea 100644 --- a/fs/f2fs/dir.c +++ b/fs/f2fs/dir.c @@ -855,7 +855,7 @@ static int f2fs_readdir(struct file *file, struct dir_context *ctx) if (f2fs_encrypted_inode(inode)) { err = fscrypt_get_encryption_info(inode); - if (err) + if (err && err != -ENOKEY) return err; err = fscrypt_fname_alloc_buffer(inode, F2FS_NAME_LEN, &fstr); |