diff options
author | Kartik_Burmee <kburmee@redhat.com> | 2017-11-14 20:12:37 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2017-11-19 03:06:49 +0000 |
commit | 1c7041fd6b4be82415866dc19b9b2a5b41bd1396 (patch) | |
tree | 42b846f04aea1a92db8a20e4edb4a7fc5af5dc95 /xlators/features | |
parent | 09debb4d4a5b7229ca128b549bce22d8820da7e9 (diff) |
features/marker: coverity fix
issue: Calling "mq_inode_ctx_get" without checking return value
function: marker_rename_unwind
fix: typecasted the return value of function to void
Change-Id: I552b1d76df434dfc3d9c2273ec63ccc4b9f960f2
BUG: 789278
Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r-- | xlators/features/marker/src/marker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/src/marker.c b/xlators/features/marker/src/marker.c index b51b9ccc9f5..cb8f8356259 100644 --- a/xlators/features/marker/src/marker.c +++ b/xlators/features/marker/src/marker.c @@ -1366,7 +1366,7 @@ marker_rename_unwind (call_frame_t *frame, void *cookie, xlator_t *this, * remove-xattr has failed as the rename is already performed * if local->stub is set, which means rename was sucessful */ - mq_inode_ctx_get (oplocal->loc.inode, this, &ctx); + (void) mq_inode_ctx_get (oplocal->loc.inode, this, &ctx); if (ctx) { contri = mq_get_contribution_node (oplocal->loc.parent, ctx); |