[Pvfs2-developers] Latest kernel missing class_device_create

Phil Carns carns at mcs.anl.gov
Mon Sep 14 14:39:21 EDT 2009


Whoops, I had to back out my version of that change too- it caused a 
segfault on 2.6.24.  It might require some more careful modifications.

Do you need this class support specifically?  The kernel module should 
compile ok without it, as far as I know.

-Phil

Phil Carns wrote:
> Hi Nick,
> 
> I just put a variation on your patch into cvs trunk.  It needed a few 
> tweaks to work on RHEL4, which has an odd variation on what class 
> functions are available.
> 
> -Phil
> 
> Nicholas Mills wrote:
>> All,
>>
>> In src/kernel/linux-2.6/devpvfs2-req.c:1037 there is a call to 
>> class_device_create(). Unfortunately, this symbol no longer exists in 
>> the latest kernel version (2.6.30 and possibly earlier). Documentation 
>> seems to suggest this call should be replaced with a call to 
>> device_create().
>>
>> The class_device_create issue has been mentioned once before. See 
>> http://www.beowulf-underground.org/pipermail/pvfs2-developers/2007-April/003346.html. 
>>
>>
>>
>> Walt,
>>
>> Don't worry, I promise I'm not changing any kernel code :). I'm just 
>> trying to get my bearings to see what (if anything) needs to be 
>> changed for the security implementation.
>>
>> --Nick
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
> 
> 



More information about the Pvfs2-developers mailing list