diff options
Diffstat (limited to 'drivers/staging/lustre/lustre/fid/lproc_fid.c')
-rw-r--r-- | drivers/staging/lustre/lustre/fid/lproc_fid.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/lustre/lustre/fid/lproc_fid.c b/drivers/staging/lustre/lustre/fid/lproc_fid.c index 92a27fa9667c..6a21f078fefa 100644 --- a/drivers/staging/lustre/lustre/fid/lproc_fid.c +++ b/drivers/staging/lustre/lustre/fid/lproc_fid.c @@ -48,7 +48,6 @@ #include "../include/obd.h" #include "../include/obd_class.h" #include "../include/dt_object.h" -#include "../include/md_object.h" #include "../include/obd_support.h" #include "../include/lustre_req_layout.h" #include "../include/lustre_fid.h" @@ -84,8 +83,8 @@ static int lprocfs_fid_write_common(const char __user *buffer, size_t count, /* of the form "[0x0000000240000400 - 0x000000028000400]" */ rc = sscanf(kernbuf, "[%llx - %llx]\n", - (long long unsigned *)&tmp.lsr_start, - (long long unsigned *)&tmp.lsr_end); + (unsigned long long *)&tmp.lsr_start, + (unsigned long long *)&tmp.lsr_end); if (!range_is_sane(&tmp) || range_is_zero(&tmp) || tmp.lsr_start < range->lsr_start || tmp.lsr_end > range->lsr_end) return -EINVAL; |