#89 quota on nfs via rpc do not work

closed-fixed
nobody
None
5
2012-08-20
2012-07-16
Anonymous
No

This line :
*pathname++ = '\0';
was not needed again, the split_nfs_mount do the job

see the patch below

---------------------------
diff --git a/rquota_client.c b/rquota_client.c
index 54a8921..e26e066 100644
--- a/rquota_client.c
+++ b/rquota_client.c
@@ -162,7 +162,6 @@ int rpc_rquota_get(struct dquot *dquot)
return -ENOENT;
}

- *pathname++ = '\0';
/* For NFSv4, we send the filesystem path without initial /. Server prepends proper
* NFS pseudoroot automatically and uses this for detection of NFSv4 mounts. */
if ((dquot->dq_h->qh_io_flags & IOFL_NFS_MIXED_PATHS) &&
------------------------------

Discussion

  • Jan Kara

    Jan Kara - 2012-08-20

    Thanks, I've fixed the issue.

     
  • Jan Kara

    Jan Kara - 2012-08-20
    • status: open --> closed-fixed
     

Anonymous
Anonymous

Cancel  Add attachments