diff options
Diffstat (limited to 'fs/ceph/messenger.c')
-rw-r--r-- | fs/ceph/messenger.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ceph/messenger.c b/fs/ceph/messenger.c index e4e8d4439d3a..c4341784ec8f 100644 --- a/fs/ceph/messenger.c +++ b/fs/ceph/messenger.c | |||
@@ -1849,6 +1849,15 @@ static void ceph_fault(struct ceph_connection *con) | |||
1849 | con->in_msg = NULL; | 1849 | con->in_msg = NULL; |
1850 | } | 1850 | } |
1851 | 1851 | ||
1852 | /* | ||
1853 | * in case we faulted due to authentication, invalidate our | ||
1854 | * current tickets so that we can get new ones. | ||
1855 | */ | ||
1856 | if (con->auth_retry && con->ops->invalidate_authorizer) { | ||
1857 | dout("calling invalidate_authorizer()\n"); | ||
1858 | con->ops->invalidate_authorizer(con); | ||
1859 | } | ||
1860 | |||
1852 | /* If there are no messages in the queue, place the connection | 1861 | /* If there are no messages in the queue, place the connection |
1853 | * in a STANDBY state (i.e., don't try to reconnect just yet). */ | 1862 | * in a STANDBY state (i.e., don't try to reconnect just yet). */ |
1854 | if (list_empty(&con->out_queue) && !con->out_keepalive_pending) { | 1863 | if (list_empty(&con->out_queue) && !con->out_keepalive_pending) { |