]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3b2191abe996009a58c7d8e1e2f014d692481e6c
tree16c1960ee5f070750e11706498c61de64e11c19a
parent38db3a7f270bdfef87c03e9f54b70d96f2d31f1b
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