Whamcloud - gitweb
LU-16415 quota: enforce project quota for root
[fs/lustre-release.git] / lustre / include / obd.h
index 47a6df7..5c899dd 100644 (file)
@@ -209,7 +209,10 @@ struct client_obd {
        unsigned int             cl_checksum:1, /* 0 = disabled, 1 = enabled */
                                 cl_checksum_dump:1, /* same */
                                 cl_ocd_grant_param:1,
-                                cl_lsom_update:1; /* send LSOM updates */
+                                cl_lsom_update:1, /* send LSOM updates */
+                                cl_root_squash:1, /* if root squash enabled*/
+                                /* check prj quota for root */
+                                cl_root_prjquota:1;
        enum lustre_sec_part     cl_sp_me;
        enum lustre_sec_part     cl_sp_to;
        struct sptlrpc_flavor    cl_flvr_mgc; /* fixed flavor of mgc->mgs */
@@ -232,8 +235,6 @@ struct client_obd {
        struct list_head        cl_grant_chain;
        time64_t                cl_grant_shrink_interval; /* seconds */
 
-       int                     cl_root_squash; /* if root squash enabled*/
-
        /* A chunk is an optimal size used by osc_extent to determine
         * the extent size. A chunk is max(PAGE_SIZE, OST block size) */
        int                     cl_chunkbits;