diff options
-rw-r--r-- | libglusterfs/src/inode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/inode.c b/libglusterfs/src/inode.c index 1f9da30c4..3513691c4 100644 --- a/libglusterfs/src/inode.c +++ b/libglusterfs/src/inode.c @@ -1079,6 +1079,8 @@ out: } } + if (ret < 0) + *bufp = NULL; return ret; } |