diff options
author | Krishnan Parthasarathi <kparthas@redhat.com> | 2013-08-12 12:50:23 +0530 |
---|---|---|
committer | Krishnan Parthasarathi <kparthas@redhat.com> | 2013-08-12 18:29:57 +0530 |
commit | 46ade2b95571584c128e5e35c329e390e83e8b7f (patch) | |
tree | 937b0cd2a8560f4c784a7b352fafc53be50fa8a7 /xlators/features/quota/src/quota.c | |
parent | 7ace0451abc11e1c041b05559f02d7cde5688a63 (diff) |
quota: fix ESTALE in lookup
Original-author: Raghavendra Gowdappa <rgowdapp@redhat.com>
Change-Id: I245f1914a38332b8e5e7f1581c9437cf5a9ab6f0
Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com>
Diffstat (limited to 'xlators/features/quota/src/quota.c')
-rw-r--r-- | xlators/features/quota/src/quota.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c index 640ade19..20c717d9 100644 --- a/xlators/features/quota/src/quota.c +++ b/xlators/features/quota/src/quota.c @@ -636,6 +636,7 @@ quota_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if ((((ctx == NULL) || (ctx->hard_lim == hard_lim)) && (hard_lim < 0) && !((IA_ISREG (buf->ia_type)) || (IA_ISLNK (buf->ia_type))))) { + ret = 0; goto unwind; } |