mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
don't opencode iget_failed()
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
886f56f970
commit
0e81ba2312
2 changed files with 2 additions and 6 deletions
|
|
@ -282,9 +282,7 @@ ecryptfs_create(struct inode *directory_inode, struct dentry *ecryptfs_dentry,
|
|||
if (rc) {
|
||||
ecryptfs_do_unlink(directory_inode, ecryptfs_dentry,
|
||||
ecryptfs_inode);
|
||||
make_bad_inode(ecryptfs_inode);
|
||||
unlock_new_inode(ecryptfs_inode);
|
||||
iput(ecryptfs_inode);
|
||||
iget_failed(ecryptfs_inode);
|
||||
goto out;
|
||||
}
|
||||
unlock_new_inode(ecryptfs_inode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue