]> git.baikalelectronics.ru Git - kernel.git/commit
staging/lustre: change rq_at_index type
authorArnd Bergmann <arnd@arndb.de>
Sun, 27 Sep 2015 20:45:08 +0000 (16:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 02:03:34 +0000 (04:03 +0200)
commit70695c98f93db40dcf8c283801e11d1a6b9cc81e
treefac4cfa81ef244dcafcecc8b44606f5540aa257d
parent453f24fa3119dd8fda1e36f74a6b439fc34358a7
staging/lustre: change rq_at_index type

The rq_at_index member of ptlrpc_request is incorrectly declared as
time_t, when it is only used as an index into an array, and assigned
from a __u32 variable.

This changes the type to u32, so we can kill off another use of time_t.

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/include/lustre_net.h