Re: [PATCH] ecryptfs: lookup: Don't check if mount_crypt_stat is NULL

2018-03-28 Thread Tyler Hicks
On 01/18/2018 08:40 PM, Guenter Roeck wrote: > mount_crypt_stat is assigned to > &ecryptfs_superblock_to_private(ecryptfs_dentry->d_sb)->mount_crypt_stat, > and mount_crypt_stat is not the first object in struct ecryptfs_sb_info. > mount_crypt_stat is therefore never NULL. At the same time, no cras

[PATCH] ecryptfs: lookup: Don't check if mount_crypt_stat is NULL

2018-01-18 Thread Guenter Roeck
mount_crypt_stat is assigned to &ecryptfs_superblock_to_private(ecryptfs_dentry->d_sb)->mount_crypt_stat, and mount_crypt_stat is not the first object in struct ecryptfs_sb_info. mount_crypt_stat is therefore never NULL. At the same time, no crash in ecryptfs_lookup() has been reported, and the loo