diff options
author | Yan, Zheng <zyan@redhat.com> | 2016-12-13 16:03:26 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2016-12-14 22:39:04 +0100 |
commit | 80e80fbb584dc0d0dc894c4965bc2a199c7cd3f2 (patch) | |
tree | 1ed1cb12474a097c20c23dadf9261139df083132 /fs/ceph/dir.c | |
parent | dc24de82d61b1edc3d195badd178e7875ba9398f (diff) | |
download | op-kernel-dev-80e80fbb584dc0d0dc894c4965bc2a199c7cd3f2.zip op-kernel-dev-80e80fbb584dc0d0dc894c4965bc2a199c7cd3f2.tar.gz |
ceph: avoid creating orphan object when checking pool permission
Pool permission check needs to write to the first object. But for
snapshot, head of the first object may have already been deleted.
Skip the check for snapshot inode to avoid creating orphan object.
Link: http://tracker.ceph.com/issues/18211
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'fs/ceph/dir.c')
0 files changed, 0 insertions, 0 deletions