diff options
-rw-r--r-- | fs/ceph/mds_client.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index 114bada97c16..40dd437a26a9 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c | |||
@@ -1871,6 +1871,12 @@ static void handle_reply(struct ceph_mds_session *session, struct ceph_msg *msg) | |||
1871 | mutex_unlock(&mdsc->mutex); | 1871 | mutex_unlock(&mdsc->mutex); |
1872 | goto out; | 1872 | goto out; |
1873 | } | 1873 | } |
1874 | if (req->r_got_safe && !head->safe) { | ||
1875 | pr_warning("got unsafe after safe on %llu from mds%d\n", | ||
1876 | tid, mds); | ||
1877 | mutex_unlock(&mdsc->mutex); | ||
1878 | goto out; | ||
1879 | } | ||
1874 | 1880 | ||
1875 | result = le32_to_cpu(head->result); | 1881 | result = le32_to_cpu(head->result); |
1876 | 1882 | ||