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

jewel: mds: Session::check_access() is buggy #10105

Merged
1 commit merged into from Aug 23, 2016
Merged

Conversation

xiaoxichen
Copy link
Contributor

@xiaoxichen xiaoxichen self-assigned this Jul 2, 2016
@xiaoxichen xiaoxichen added this to the infernalis milestone Jul 2, 2016
It calls CInode::make_path_string(...) with the second argument is
false. The second argument makes the third argument useless. For
newly created inode, the path string is something like #1xxxxxxxxx.
This can cause the access check to fail.

Fixes: http://tracker.ceph.com/issues/16358
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit a94ef56)
@ghost
Copy link

ghost commented Aug 8, 2016

@xiaoxichen I'm setting milestone jewel since this is targeting jewel really. If that's a mistake please let me know.

@ghost ghost modified the milestones: jewel, infernalis Aug 8, 2016
ghost pushed a commit that referenced this pull request Aug 8, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost
Copy link

ghost commented Aug 8, 2016

Hey jenkins, test this please !

ghost pushed a commit that referenced this pull request Aug 9, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 12, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@ghost ghost assigned gregsfortytwo Aug 16, 2016
@ghost
Copy link

ghost commented Aug 16, 2016

@gregsfortytwo does this backport look good to merge ? It passed the fs suite http://tracker.ceph.com/issues/16344#note-21 (except for unrelated valgrind failures and one transient failure that is, I believe, unrelated ).

ghost pushed a commit that referenced this pull request Aug 16, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 17, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 22, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
ghost pushed a commit that referenced this pull request Aug 22, 2016
Reviewed-by: Loic Dachary <ldachary@redhat.com>
@gregsfortytwo
Copy link
Member

Yep, looks good to me @dachary!

@gregsfortytwo gregsfortytwo assigned ghost and unassigned gregsfortytwo Aug 22, 2016
@ghost ghost merged commit 2c387d5 into ceph:jewel Aug 23, 2016
@ghost ghost changed the title jewel: Session::check_access() is buggy jewel: mds: Session::check_access() is buggy Aug 25, 2016
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants