aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDulshani Gunawardhana <[email protected]>2013-11-11 15:47:17 +0530
committerGreg Kroah-Hartman <[email protected]>2013-11-11 15:55:16 -0800
commitb047a8dc30a84d272d230b76b41ca2d0730f0d97 (patch)
tree2ae4f0924b2bd26ddcc4f58491a9f920f133d3bc
parent1fb35c297663e80aeee863997aa775ca285bf1c2 (diff)
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/lustre/lustre/obdclass/local_storage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/obdclass/local_storage.c b/drivers/staging/lustre/lustre/obdclass/local_storage.c
index cc19fbab0207..51ab7f413004 100644
--- a/drivers/staging/lustre/lustre/obdclass/local_storage.c
+++ b/drivers/staging/lustre/lustre/obdclass/local_storage.c
@@ -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);