Whamcloud - gitweb
LU-14696 llite: check read only mount for setquota
[fs/lustre-release.git] / lustre / utils / lfs.c
index 2f52650..e8aea7b 100644 (file)
@@ -7941,6 +7941,9 @@ quota_type_def:
                                obd_uuid2str(&qctl->obd_uuid), strerror(-rc));
        }
 out:
+       if (rc)
+               fprintf(stderr, "setquota failed: %s\n", strerror(-rc));
+
        free(qctl);
        return rc;
 }