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-4017 quota: add setting/getting project id function
[fs/lustre-release.git]
/
lustre
/
include
/
cl_object.h
diff --git
a/lustre/include/cl_object.h
b/lustre/include/cl_object.h
index
655e6b1
..
dba3ef3
100644
(file)
--- a/
lustre/include/cl_object.h
+++ b/
lustre/include/cl_object.h
@@
-166,6
+166,9
@@
struct cl_attr {
/* nlink of the directory */
__u64 cat_nlink;
+
+ /* Project identifier for quota purpose. */
+ __u32 cat_projid;
};
/**
@@
-179,7
+182,8
@@
enum cl_attr_valid {
CAT_CTIME = 1 << 5,
CAT_BLOCKS = 1 << 6,
CAT_UID = 1 << 7,
- CAT_GID = 1 << 8
+ CAT_GID = 1 << 8,
+ CAT_PROJID = 1 << 9
};
/**