Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1426118
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Oleg Drokin <green@linuxhacker.ru> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 26/28] staging/lustre/osc: fix signed one bit field |
| Date | Mon, 20 Jun 2016 04:20:01 +0200 |
| Message-ID | <rLWYF-2eX-3@gated-at.bofh.it> (permalink) |
| References | <rLWOZ-25p-7@gated-at.bofh.it> |
| X-Mailer | git-send-email 2.7.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 32 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Lustre Development List <lustre-devel@lists.lustre.org>, Dmitry Eremin <dmitry.eremin@intel.com>, Oleg Drokin <green@linuxhacker.ru> |
| X-Original-Date | Sun, 19 Jun 2016 22:07:41 -0400 |
| X-Original-Message-ID | <1466388463-1817551-27-git-send-email-green@linuxhacker.ru> |
| X-Original-References | <1466388463-1817551-1-git-send-email-green@linuxhacker.ru> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1426118 |
Show key headers only | View raw
From: Dmitry Eremin <dmitry.eremin@intel.com>
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>
---
drivers/staging/lustre/lustre/osc/osc_cl_internal.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/lustre/lustre/osc/osc_cl_internal.h b/drivers/staging/lustre/lustre/osc/osc_cl_internal.h
index 437c659..c8c3f1c 100644
--- a/drivers/staging/lustre/lustre/osc/osc_cl_internal.h
+++ b/drivers/staging/lustre/lustre/osc/osc_cl_internal.h
@@ -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;
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 26/28] staging/lustre/osc: fix signed one bit field Oleg Drokin <green@linuxhacker.ru> - 2016-06-20 04:20 +0200
csiph-web