Whamcloud - gitweb
b=14340
[fs/lustre-release.git] / lustre / include / lustre_import.h
index 76197c9..7a5c761 100644 (file)
@@ -66,6 +66,8 @@ struct obd_import {
 
         struct obd_device        *imp_obd;
         struct ptlrpc_sec        *imp_sec;
+        struct semaphore          imp_sec_mutex;
+        cfs_time_t                imp_sec_expire;
         cfs_waitq_t               imp_recovery_waitq;
 
         atomic_t                  imp_inflight;
@@ -90,7 +92,7 @@ struct obd_import {
         spinlock_t                imp_lock;
 
         /* flags */
-        unsigned int              imp_no_timeout:1,       /* timeouts are disabled */
+        unsigned long             imp_no_timeout:1,       /* timeouts are disabled */
                                   imp_invalid:1,          /* evicted */
                                   imp_deactive:1,         /* administratively disabled */
                                   imp_replayable:1,       /* try to recover the import */