Whamcloud - gitweb
The arguments "lump" of lov_setstripe and lov_getstripe can be called
authorfanyong <fanyong>
Mon, 21 Aug 2006 16:10:48 +0000 (16:10 +0000)
committerfanyong <fanyong>
Mon, 21 Aug 2006 16:10:48 +0000 (16:10 +0000)
commitbde8051db9d8b6377c9a10266c1551ec872b42db
treeb01db01ebd68dce6573201cf5fc79495978e4194
parent760b69ace9f2a8e604e3f7e4cc76f916d6c15d26
The arguments "lump" of lov_setstripe and lov_getstripe can be called
from both user level and kernel level. So copy_from_user or copy_to_user
maybe failed. In these case, we shoule use memcpy to do that.
to
lustre/lov/lov_pack.c