summaryrefslogtreecommitdiff
path: root/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 00:04:53 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-12 00:04:53 -0700
commit61b3508ae323e5566637e5da14a131eb940de6fa (patch)
tree5d3c3d98a1428b0ac951b740110dd36a6c09f86e /drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
parentfb4a1539948678b581bf12356f13e616397a458e (diff)
staging: lustre: remove cfs_fs_time_t
Use 'struct timespec' like the rest of the kernel does Cc: Andreas Dilger <andreas.dilger@intel.com> Cc: Oleg Drokin <oleg.drokin@intel.com> Cc: hpdd-discuss <hpdd-discuss@lists.01.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/include/linux/libcfs/libcfs_time.h')
-rw-r--r--drivers/staging/lustre/include/linux/libcfs/libcfs_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
index bb9e59e41a8c..712ab1ab2f27 100644
--- a/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
+++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_time.h
@@ -111,7 +111,7 @@ static inline void cfs_slow_warning(cfs_time_t now, int seconds, char *msg)
*/
static inline void cfs_fs_timeval(struct timeval *tv)
{
- cfs_fs_time_t time;
+ struct timespec time;
cfs_fs_time_current(&time);
cfs_fs_time_usec(&time, tv);