staging/lustre/osc: fix signed one bit field
authorDmitry Eremin <dmitry.eremin@intel.com>
Mon, 20 Jun 2016 20:55:48 +0000 (16:55 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Jun 2016 21:28:39 +0000 (14:28 -0700)
Bit field 'oi_lockless' and 'oi_is_active' has one bit and is signed
which is confusing.

Signed-off-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/19196
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7258
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/osc/osc_cl_internal.h

index 437c6595a6cf8a235958e0d01a002990a556b84e..c8c3f1ca77be51ba93eebd394cbd2717a9062ede 100644 (file)
@@ -62,7 +62,7 @@ struct osc_io {
        /** super class */
        struct cl_io_slice oi_cl;
        /** true if this io is lockless. */
-       int             oi_lockless;
+       unsigned int            oi_lockless;
        /** how many LRU pages are reserved for this IO */
        int oi_lru_reserved;
 
This page took 0.032927 seconds and 5 git commands to generate.