Whamcloud - gitweb
LU-15748 ofd: fix fallocate interop for older clients
[fs/lustre-release.git] / lustre / osc / osc_quota.c
index 4320ae4..0f07952 100644 (file)
@@ -108,6 +108,7 @@ int osc_quota_setdq(struct client_obd *cli, __u64 xid, const unsigned int qid[],
                RETURN(0);
 
        mutex_lock(&cli->cl_quota_mutex);
+       cli->cl_root_squash = !!(flags & OBD_FL_ROOT_SQUASH);
        /* still mark the quots is running out for the old request, because it
         * could be processed after the new request at OST, the side effect is
         * the following request will be processed synchronously, but it will