diff options
-rw-r--r-- | xlators/features/access-control/src/access-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/access-control/src/access-control.c b/xlators/features/access-control/src/access-control.c index b659a013309..7612266680f 100644 --- a/xlators/features/access-control/src/access-control.c +++ b/xlators/features/access-control/src/access-control.c @@ -1010,7 +1010,7 @@ ac_rename_src_stat_cbk (call_frame_t *frame, void *cookie, xlator_t *this, } op_ret = ac_parent_loc_fill (&parentloc, &stub->args.rename.new); - if (op_ret == -1) { + if (op_ret < 0) { op_errno = -EFAULT; goto out; } |