Whamcloud - gitweb
LU-4017 quota: add setting/getting project id function
[fs/lustre-release.git] / lustre / include / cl_object.h
index 655e6b1..dba3ef3 100644 (file)
@@ -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
 };
 
 /**