Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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-7258


Reviewed-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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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;