ceph: don't mark dirty caps when there is no auth cap
authorYan, Zheng <zyan@redhat.com>
Tue, 24 Mar 2015 03:36:08 +0000 (11:36 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 15:55:36 +0000 (18:55 +0300)
commit571ade336ac89f5db602f7df992152e4f4b945bc
treef10c4a63d4f5c624c9a6ddcc4a0ca941583e3d30
parentdb40cc1702d6a7049740d269cf6c1a42f979c7a7
ceph: don't mark dirty caps when there is no auth cap

No i_auth_cap means reconnecting to MDS was denied. So don't
add new dirty caps.

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