diff options
Diffstat (limited to 'xlators/protocol/legacy/server/src/server-resolve.c')
-rw-r--r-- | xlators/protocol/legacy/server/src/server-resolve.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xlators/protocol/legacy/server/src/server-resolve.c b/xlators/protocol/legacy/server/src/server-resolve.c index 63351fd34f0..f08ec1c060c 100644 --- a/xlators/protocol/legacy/server/src/server-resolve.c +++ b/xlators/protocol/legacy/server/src/server-resolve.c @@ -354,7 +354,8 @@ resolve_entry_simple (call_frame_t *frame) goto out; } - if (parent->ino != 1 && parent->generation != resolve->gen) { +// if (parent->ino != 1 && parent->generation != resolve->gen) { + if (0) { /* simple resolution is decisive - request was for a stale handle */ resolve->op_ret = -1; @@ -468,7 +469,8 @@ resolve_inode_simple (call_frame_t *frame) goto out; } - if (inode->ino != 1 && inode->generation != resolve->gen) { +// if (inode->ino != 1 && inode->generation != resolve->gen) { + if (0) { resolve->op_ret = -1; resolve->op_errno = ENOENT; ret = -1; |