lkml.org 
[lkml]   [2010]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    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 :)

    thanks,

    greg k-h


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