Commit:     abce891a10559343d8ac9f79b46d78afdba63a40
Parent:     10b275ddfd05ccb414cfe0cc56a0f47ff20fe807
Author:     Linus Torvalds <[EMAIL PROTECTED]>
AuthorDate: Mon Jul 16 11:18:23 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Mon Jul 16 11:18:23 2007 -0700

    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 <[EMAIL PROTECTED]>
    Cc: James Bottomley <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 block/bsg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/block/bsg.c b/block/bsg.c
index 461c9f5..576933f 100644
--- a/block/bsg.c
+++ b/block/bsg.c
@@ -1011,7 +1011,7 @@ retry:
        bcd->class_dev = class_dev;
-       if (q->kobj.dentry) {
+       if (q-> {
                ret = sysfs_create_link(&q->kobj, &bcd->class_dev->kobj, "bsg");
                if (ret)
                        goto err;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to