common/blkdev: use realpath instead of readlink to resolve the recurs… #12462

Merged
merged 1 commit into from Dec 15, 2016

Projects

None yet

2 participants

@XinzeChi
Member
XinzeChi commented Dec 13, 2016 edited

…ion symbol link

This patch fix the below case:
block -> /dev/disk/by-partuuid/413c40b8-8df2-4351-a046-c44d09489396
/dev/disk/by-partuuid/413c40b8-8df2-4351-a046-c44d09489396 -> ../../sdj2

Signed-off-by: Xinze Chi xinze@xsky.com

@XinzeChi XinzeChi common/blkdev: use realpath instead of readlink to resolve the recurs…
…ion symbol link

Signed-off-by: Xinze Chi <xinze@xsky.com>
0d1e9aa
@XinzeChi
Member

@liewegas , please review.

@liewegas liewegas added the needs-qa label Dec 14, 2016
@liewegas liewegas added this to the kraken milestone Dec 14, 2016
@liewegas liewegas merged commit 1c8903f into ceph:master Dec 15, 2016

3 checks passed

Signed-off-by all commits in this PR are signed
Details
Unmodifed Submodules submodules for project are unmodified
Details
default Build finished.
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment