]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - fs/crypto/keyinfo.c
Merge tag 'fscrypt_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso...
[linux.git] / fs / crypto / keyinfo.c
index 8cdfddce2b34868f0cfe3f71da55d64187172a38..179e578b875b1abbc58fbb2d3fd634b3608243ad 100644 (file)
@@ -183,9 +183,6 @@ int fscrypt_get_encryption_info(struct inode *inode)
        if (res)
                return res;
 
-       if (!inode->i_sb->s_cop->get_context)
-               return -EOPNOTSUPP;
-
        res = inode->i_sb->s_cop->get_context(inode, &ctx, sizeof(ctx));
        if (res < 0) {
                if (!fscrypt_dummy_context_enabled(inode) ||