mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
don't bother with ->d_inode->i_sb - it's always equal to ->d_sb
... and neither can ever be NULL Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
04c57f4501
commit
fc64005c93
30 changed files with 41 additions and 50 deletions
|
|
@ -1444,7 +1444,7 @@ static int smack_inode_removexattr(struct dentry *dentry, const char *name)
|
|||
* XATTR_NAME_SMACKIPOUT
|
||||
*/
|
||||
if (strcmp(name, XATTR_NAME_SMACK) == 0) {
|
||||
struct super_block *sbp = d_backing_inode(dentry)->i_sb;
|
||||
struct super_block *sbp = dentry->d_sb;
|
||||
struct superblock_smack *sbsp = sbp->s_security;
|
||||
|
||||
isp->smk_inode = sbsp->smk_default;
|
||||
|
|
|
|||
Loading…
Reference in a new issue