Skip to content

Commit

Permalink
rgw_file: fix double unref on rgw_fh for rename
Browse files Browse the repository at this point in the history
Skip unref after unlink to fix the problem.

Signed-off-by: Gui Hecheng <guihecheng@cmss.chinamobile.com>
  • Loading branch information
Gui Hecheng committed Mar 17, 2017
1 parent 4b0654f commit bff2287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_file.cc
Expand Up @@ -396,7 +396,7 @@ namespace rgw {
<< dendl;
}
}
break;
goto out;
default:
abort();
} /* switch */
Expand Down

0 comments on commit bff2287

Please sign in to comment.