New API calls iso_node_get_projid(), iso_node_set_projid(), iso_local_get_projid(), iso_local_set_projid()
This commit is contained in:
@@ -47,7 +47,9 @@
|
||||
Bitfield corresponding to flag.
|
||||
bit0= ACL adapter is enabled
|
||||
bit1= xattr adapter is enabled
|
||||
bit2 - bit7= Reserved for future types.
|
||||
bit2= Linux-like file attribute flags (chattr) adapter is enabled
|
||||
bit3= inquire availability of XFS-style project id
|
||||
bit4 - bit7= Reserved for future types.
|
||||
bit8 and higher: reserved, do not interpret these
|
||||
*/
|
||||
int aaip_local_attr_support(int flag)
|
||||
@@ -95,6 +97,16 @@ int aaip_get_lfa_flags(char *path, uint64_t *lfa_flags, int *max_bit,
|
||||
}
|
||||
|
||||
|
||||
/* Obtain the project id for XFS-style quota management.
|
||||
*/
|
||||
int aaip_get_projid(char *path, uint32_t *projid, int *os_errno, int flag)
|
||||
{
|
||||
*projid= 0;
|
||||
*os_errno= 0;
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
/* ------------------------------ Setters --------------------------------- */
|
||||
|
||||
|
||||
@@ -155,3 +167,12 @@ int aaip_set_lfa_flags(char *path, uint64_t lfa_flags, int max_bit,
|
||||
}
|
||||
|
||||
|
||||
/* Set the project id for XFS-style quota management.
|
||||
*/
|
||||
int aaip_set_projid(char *path, uint32_t projid, int *os_errno, int flag)
|
||||
{
|
||||
*os_errno= 0;
|
||||
return(0);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user