Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-831 header: struct bit field should be unsigned type
[fs/lustre-release.git]
/
lustre
/
osd-ldiskfs
/
osd_iam.h
diff --git
a/lustre/osd-ldiskfs/osd_iam.h
b/lustre/osd-ldiskfs/osd_iam.h
index
68aed7b
..
e6c550c
100644
(file)
--- a/
lustre/osd-ldiskfs/osd_iam.h
+++ b/
lustre/osd-ldiskfs/osd_iam.h
@@
-781,7
+781,7
@@
static inline unsigned dx_get_block(struct iam_path *p, struct iam_entry *entry)
u32 *addr;
addr = iam_entry_off(entry, iam_path_descr(p)->id_ikey_size);
- return le32_to_cpu(get_unaligned(addr))
& 0x00ffffff
;
+ return le32_to_cpu(get_unaligned(addr));
}
static inline void dx_set_block(struct iam_path *p,