diff options
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/call-stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/call-stub.c b/libglusterfs/src/call-stub.c index 439fd571148..63fe5be558f 100644 --- a/libglusterfs/src/call-stub.c +++ b/libglusterfs/src/call-stub.c @@ -1261,7 +1261,7 @@ fop_opendir_stub (call_frame_t *frame, stub->args.opendir.fn = fn; loc_copy (&stub->args.opendir.loc, loc); - if (stub->args.opendir.fd) + if (fd) stub->args.opendir.fd = fd_ref (fd); out: return stub; |