ext4/fscrypto: avoid RCU lookup in d_revalidate
authorJaegeuk Kim <[email protected]>
Tue, 12 Apr 2016 23:05:36 +0000 (16:05 -0700)
committerJaegeuk Kim <[email protected]>
Wed, 13 Apr 2016 03:01:35 +0000 (20:01 -0700)
commit03a8bb0e53d9562276045bdfcf2b5de2e4cff5a1
tree558c4c5fe4471d2570a23bb16dbe85c8ee0999ed
parentb32e4482aadfd1322357f46d4ed8a990603664d9
ext4/fscrypto: avoid RCU lookup in d_revalidate

As Al pointed, d_revalidate should return RCU lookup before using d_inode.
This was originally introduced by:
commit 34286d666230 ("fs: rcu-walk aware d_revalidate method").

Reported-by: Al Viro <[email protected]>
Signed-off-by: Jaegeuk Kim <[email protected]>
Cc: Theodore Ts'o <[email protected]>
Cc: stable <[email protected]>
fs/crypto/crypto.c
fs/ext4/crypto.c