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 in include
[fs/lustre-release.git]
/
lustre
/
include
/
cl_object.h
diff --git
a/lustre/include/cl_object.h
b/lustre/include/cl_object.h
index
fb93a94
..
e66584c
100644
(file)
--- a/
lustre/include/cl_object.h
+++ b/
lustre/include/cl_object.h
@@
-179,15
+179,15
@@
struct cl_attr {
* Fields in cl_attr that are being set.
*/
enum cl_attr_valid {
* Fields in cl_attr that are being set.
*/
enum cl_attr_valid {
- CAT_SIZE
= 1 << 0
,
- CAT_KMS
= 1 << 1
,
- CAT_MTIME
= 1 << 3
,
- CAT_ATIME
= 1 << 4
,
- CAT_CTIME
= 1 << 5
,
- CAT_BLOCKS
= 1 << 6
,
- CAT_UID
= 1 << 7
,
- CAT_GID
= 1 << 8
,
- CAT_PROJID
= 1 << 9
+ CAT_SIZE
= BIT(0)
,
+ CAT_KMS
= BIT(1)
,
+ CAT_MTIME
= BIT(3)
,
+ CAT_ATIME
= BIT(4)
,
+ CAT_CTIME
= BIT(5)
,
+ CAT_BLOCKS
= BIT(6)
,
+ CAT_UID
= BIT(7)
,
+ CAT_GID
= BIT(8)
,
+ CAT_PROJID
= BIT(9),
};
/**
};
/**