diff options
Diffstat (limited to 'fs/crypto/keyinfo.c')
-rw-r--r-- | fs/crypto/keyinfo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/crypto/keyinfo.c b/fs/crypto/keyinfo.c index 8cdfddce2b34..179e578b875b 100644 --- a/fs/crypto/keyinfo.c +++ b/fs/crypto/keyinfo.c | |||
@@ -183,9 +183,6 @@ int fscrypt_get_encryption_info(struct inode *inode) | |||
183 | if (res) | 183 | if (res) |
184 | return res; | 184 | return res; |
185 | 185 | ||
186 | if (!inode->i_sb->s_cop->get_context) | ||
187 | return -EOPNOTSUPP; | ||
188 | |||
189 | res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); | 186 | res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx)); |
190 | if (res < 0) { | 187 | if (res < 0) { |
191 | if (!fscrypt_dummy_context_enabled(inode) || | 188 | if (!fscrypt_dummy_context_enabled(inode) || |