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-6142 lustre: use BIT() macro where appropriate
[fs/lustre-release.git]
/
lustre
/
llite
/
dir.c
diff --git
a/lustre/llite/dir.c
b/lustre/llite/dir.c
index
da83791
..
007f6cf
100644
(file)
--- a/
lustre/llite/dir.c
+++ b/
lustre/llite/dir.c
@@
-1043,7
+1043,7
@@
static int copy_and_ct_start(int cmd, struct obd_export *exp,
count = 0;
for (i = 0; i < sizeof(archive_mask) * 8; i++) {
- if (
(1 <<
i) & archive_mask) {
+ if (
BIT(
i) & archive_mask) {
lk->lk_data[count] = i + 1;
count++;
}