diff options
author | Raghavendra G <raghavendra@gluster.com> | 2011-04-06 05:37:05 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-04-06 10:52:05 -0700 |
commit | 8e8d4e0869623f352c7993293c6e132d795a34bf (patch) | |
tree | a80d9f34f49befd5056835908c8bccbf66ddde50 | |
parent | 9bff4a73fedd388bb9c57a3e999361540ac333eb (diff) |
nfs: convert errno EDQUOT into appropriate nfs-errno.
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; |