[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH v2 08/11] sysfs: introduce new interface sysfs_get_kobject
    On Wed, May 19, 2010 at 01:48:43AM +0000, Lin Ming wrote:
    > Need this interface in the later sysfs pmu lookup.
    > struct kobject *sysfs_get_kobject(struct file *file);
    > Return the relative kobject of the sysfs file.

    Ick, no. Why would you ever have the file, yet not have the kobject
    already? Something is really wrong if this is needed. Or strange. Or
    maybe both :)


    greg k-h

     \ /
      Last update: 2010-05-18 22:17    [W:0.018 / U:1.008 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site