diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-04-06 05:34:13 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-04-06 12:06:14 -0700 |
commit | 2b55a4904590b13ad706c069e73e1f38d92d8085 (patch) | |
tree | 69495049f2f9121cfee33f91fcbbc5bd328a3c74 | |
parent | 0b91f5be63813e6494283a8ac7d6e1e4348c9f13 (diff) |
nfs: convert errno EDQUOT into appropriate nfs-errno.v3.1.4qa2
Signed-off-by: Raghavendra G <raghavendra@gluster.com>
Signed-off-by: Vijay Bellur <vijay@gluster.com>
BUG: 2607 (Fileop fails when quota is enabled)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2607
-rw-r--r-- | xlators/nfs/server/src/nfs3-helpers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs3-helpers.c b/xlators/nfs/server/src/nfs3-helpers.c index c80f637fa..468f8f7af 100644 --- a/xlators/nfs/server/src/nfs3-helpers.c +++ b/xlators/nfs/server/src/nfs3-helpers.c @@ -256,6 +256,10 @@ nfs3_errno_to_nfsstat3 (int errnum) stat = NFS3ERR_IO; break; + case EDQUOT: + stat = NFS3ERR_DQUOT; + break; + default: stat = NFS3ERR_SERVERFAULT; break; |