Commit c32090fc authored by Dmitry Eremin's avatar Dmitry Eremin Committed by Greg Kroah-Hartman

staging/lustre/osc: fix signed one bit field

Bit field 'oi_lockless' and 'oi_is_active' has one bit and is signed
which is confusing.
Signed-off-by: default avatarDmitry Eremin <dmitry.eremin@intel.com>
Reviewed-on: http://review.whamcloud.com/19196
Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7258Reviewed-by: default avatarAndreas Dilger <andreas.dilger@intel.com>
Reviewed-by: default avatarJames Simmons <uja.ornl@yahoo.com>
Reviewed-by: default avatarFrank Zago <fzago@cray.com>
Reviewed-by: default avatarJohn L. Hammond <john.hammond@intel.com>
Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d780846e
...@@ -62,7 +62,7 @@ struct osc_io { ...@@ -62,7 +62,7 @@ struct osc_io {
/** super class */ /** super class */
struct cl_io_slice oi_cl; struct cl_io_slice oi_cl;
/** true if this io is lockless. */ /** true if this io is lockless. */
int oi_lockless; unsigned int oi_lockless;
/** how many LRU pages are reserved for this IO */ /** how many LRU pages are reserved for this IO */
int oi_lru_reserved; int oi_lru_reserved;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment