diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2015-06-04 08:21:59 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2015-06-12 01:53:17 -0700 |
commit | eeccafc72c95da83abeb51966d7eeeab02190899 (patch) | |
tree | 87824169172737afa4bb68a1a934d0f2e403c3f0 | |
parent | 886f65fabc50c256a7de57fd05281a75bba3cac9 (diff) |
features/qemu-block: Add comment about root_inode handling
This is handling the comment on 3.7 backport
http://review.gluster.com/11047
Change-Id: I253a8e0bfebde63f25c839efd55ed3cc30e6cd9b
BUG: 1226276
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/11076
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Poornima G <pgurusid@redhat.com>
-rw-r--r-- | xlators/features/qemu-block/src/qemu-block.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/features/qemu-block/src/qemu-block.c b/xlators/features/qemu-block/src/qemu-block.c index 12bc2743756..9aa9f43ab19 100644 --- a/xlators/features/qemu-block/src/qemu-block.c +++ b/xlators/features/qemu-block/src/qemu-block.c @@ -1083,7 +1083,8 @@ fini (xlator_t *this) this->private = NULL; - conf->root_inode = NULL; + /* No need to do inode_unref of conf->root_inode as ref/unref doesn't + * apply for it*/ GF_FREE (conf); return; |