Whamcloud - gitweb
LU-4423 ptlrpc: incorrect AT index type 93/16693/2
authorOleg Drokin <oleg.drokin@intel.com>
Sun, 27 Sep 2015 19:07:45 +0000 (15:07 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 2 Oct 2015 04:50:22 +0000 (04:50 +0000)
Arnd Bergmann <arnd@arndb.de> noticed that rq_at_index is incorrectly
labelled as time_t where as it's really an integer index.

Change-Id: Id6858def627054eb87d9860ce3d98984970ed481
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Reviewed-on: http://review.whamcloud.com/16693
Tested-by: Jenkins
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/include/lustre_net.h

index 26d6f01..e71b2db 100644 (file)
@@ -889,7 +889,7 @@ struct ptlrpc_srv_req {
        /** history sequence # */
        __u64                            sr_hist_seq;
        /** the index of service's srv_at_array into which request is linked */
-       time_t                           sr_at_index;
+       __u32                            sr_at_index;
        /** authed uid */
        uid_t                            sr_auth_uid;
        /** authed uid mapped to */