mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
Fix deadlock in ipathfs ->get_sb()
forgot to unlock superblock before calling deactivate_super()... Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
c96f585737
commit
265e771e81
1 changed files with 1 additions and 1 deletions
|
|
@ -347,7 +347,7 @@ static int ipathfs_fill_super(struct super_block *sb, void *data,
|
|||
spin_unlock_irqrestore(&ipath_devs_lock, flags);
|
||||
ret = create_device_files(sb, dd);
|
||||
if (ret) {
|
||||
deactivate_super(sb);
|
||||
deactivate_locked_super(sb);
|
||||
goto bail;
|
||||
}
|
||||
spin_lock_irqsave(&ipath_devs_lock, flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue