staging/lustre: use 64-bit times in ptlrpc_enc_page_pool
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:24 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:38 +0000 (04:03 +0200)
commit80018a9edbc3180ae31a7197f9dacab975a7f5e2
tree6f8bac7e499c6bda79efefbd93fa720f02b26a4d
parentd9f79e6bf02c109f117132163239bfffa6475ccb
staging/lustre: use 64-bit times in ptlrpc_enc_page_pool

ptlrpc_enc_page_pool computes time deltas using 'long' values from
get_seconds(). This is probably safe beyond y2038, but it's better
to go use monotonic times and 64-bit here for consistency.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/sec_bulk.c