mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Fix new generic block device SG compile
We had a merge issue with the "dentry" field going away from the kobject, and being replaced by a sysfs_dirent field (named "sd") instead. That broke the BSG compile. Cc: Jens Axboe <jens.axboe@oracle.com> Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
10b275ddfd
commit
abce891a10
1 changed files with 1 additions and 1 deletions
|
@ -1011,7 +1011,7 @@ retry:
|
|||
}
|
||||
bcd->class_dev = class_dev;
|
||||
|
||||
if (q->kobj.dentry) {
|
||||
if (q->kobj.sd) {
|
||||
ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg");
|
||||
if (ret)
|
||||
goto err;
|
||||
|
|
Loading…
Reference in a new issue