]> git.baikalelectronics.ru Git - kernel.git/commit
ext4 crypto: revalidate dentry after adding or removing the key
authorTheodore Ts'o <tytso@mit.edu>
Mon, 8 Feb 2016 00:35:05 +0000 (19:35 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 8 Feb 2016 00:35:05 +0000 (19:35 -0500)
commit3ccf39f83e25b4052f9370770c93d5237a2d27c0
treecf169b33d19264de0af048876e0276f06430f726
parent4647c720fd42a03c69c68c022db398388a8936d5
ext4 crypto: revalidate dentry after adding or removing the key

Add a validation check for dentries for encrypted directory to make
sure we're not caching stale data after a key has been added or removed.

Also check to make sure that status of the encryption key is updated
when readdir(2) is executed.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/crypto.c
fs/ext4/dir.c
fs/ext4/ext4.h
fs/ext4/namei.c