summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ialloc.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-02-08 00:54:26 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-02-08 00:54:26 -0500
commitff978b09f973db0d0597704eba350a994d7729e6 (patch)
tree75f1066159641b2e1cc9891a7d6ccd5cb3b29826 /fs/ext4/ialloc.c
parent28b4c263961c47da84ed8b5be0b5116bad1133eb (diff)
downloadop-kernel-dev-ff978b09f973db0d0597704eba350a994d7729e6.zip
op-kernel-dev-ff978b09f973db0d0597704eba350a994d7729e6.tar.gz
ext4 crypto: move context consistency check to ext4_file_open()
In the case where the per-file key for the directory is cached, but root does not have access to the key needed to derive the per-file key for the files in the directory, we allow the lookup to succeed, so that lstat(2) and unlink(2) can suceed. However, if a program tries to open the file, it will get an ENOKEY error. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ialloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud