ceph: fix atomic_open snapdir
authorYan, Zheng <zyan@redhat.com>
Mon, 19 Jan 2015 05:23:20 +0000 (13:23 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Feb 2015 10:31:39 +0000 (13:31 +0300)
commitbf91c3150880ed6304f578cf00bd408d642fe6a0
tree16c1960ee5f070750e11706498c61de64e11c19a
parent2f92b3d0a9a583a5a4dd786a84fc42e6f1aa40fa
ceph: fix atomic_open snapdir

ceph_handle_snapdir() checks ceph_mdsc_do_request()'s return value
and creates snapdir inode if it's -ENOENT

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/file.c