aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/mds_client.c')
-rw-r--r--fs/ceph/mds_client.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c
index 9f0833e1631a..a75ddbf9fe37 100644
--- a/fs/ceph/mds_client.c
+++ b/fs/ceph/mds_client.c
@@ -1985,8 +1985,9 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg)
1985 */ 1985 */
1986 if (result == -ESTALE) { 1986 if (result == -ESTALE) {
1987 dout("got ESTALE on request %llu", req->r_tid); 1987 dout("got ESTALE on request %llu", req->r_tid);
1988 if (!req->r_inode) ; //do nothing; not an authority problem 1988 if (!req->r_inode) {
1989 else if (req->r_direct_mode != USE_AUTH_MDS) { 1989 /* do nothing; not an authority problem */
1990 } else if (req->r_direct_mode != USE_AUTH_MDS) {
1990 dout("not using auth, setting for that now"); 1991 dout("not using auth, setting for that now");
1991 req->r_direct_mode = USE_AUTH_MDS; 1992 req->r_direct_mode = USE_AUTH_MDS;
1992 __do_request(mdsc, req); 1993 __do_request(mdsc, req);