diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-23 18:21:37 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-03-18 05:19:42 +0100 |
commit | 8074bb515014d281a6f5f1218648aa3abd9c22ab (patch) | |
tree | e40dc1a7d5d8f7bf26d911169c9b1ddd1c3752d7 /fs/f2fs/dir.c | |
parent | fs crypto: move per-file encryption from f2fs tree to fs/crypto (diff) | |
download | linux-8074bb515014d281a6f5f1218648aa3abd9c22ab.tar.xz linux-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); |