1
0

staging: lustre: Fix incorrect type in assignment

Fix the following sparse warings in local_storage.c.
drivers/staging/lustre/lustre/obdclass/local_storage.c:269:16:warning:incorrect type in assignment (different base types)

Signed-off-by: Dulshani Gunawardhana <dulshani.gunawardhana89@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Dulshani Gunawardhana
2013-11-11 15:47:17 +05:30
committed by Greg Kroah-Hartman
parent 1fb35c2976
commit b047a8dc30

View File

@@ -246,7 +246,7 @@ int local_object_create(const struct lu_env *env,
struct dt_object_format *dof, struct thandle *th)
{
struct dt_thread_info *dti = dt_info(env);
obd_id lastid;
__le64 lastid;
int rc;
rc = dt_create(env, o, attr, NULL, dof, th);