Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os/filestore: fix return type mismatch for lfn parse #8545

Merged
merged 1 commit into from Apr 15, 2016

Conversation

xiexingguo
Copy link
Member

According to 755c685,
we shall return a int value instead of bool now.
So if we fail to parse an object, we shall reset "false" into "-EINVAL" instead,
as "false" is always translated into 0, which is supposed to indicate a success.

Signed-off-by: xie xingguo xie.xingguo@zte.com.cn

@xiexingguo xiexingguo added this to the jewel milestone Apr 12, 2016
@xiexingguo xiexingguo force-pushed the xxg-wip-lfn branch 3 times, most recently from bca1777 to 142610a Compare April 12, 2016 03:12
According to ceph@755c685,
we shall return a int value instead of bool now.
So if we fail to parse an object, we shall reset "false" into "-EINVAL" instead,
as "false" is always translated into 0, which is supposed to indicate a success.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
@tchaikov
Copy link
Contributor

lgtm

@xiexingguo
Copy link
Member Author

@tchaikov Thanks for the quick review, and merge:)

@athanatos
Copy link
Contributor

lgtm as well

@liewegas liewegas merged commit 4848559 into ceph:master Apr 15, 2016
@xiexingguo xiexingguo deleted the xxg-wip-lfn branch April 15, 2016 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants