Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188647
b: refs/heads/master
c: d4a780c
h: refs/heads/master
i:
  188645: 49ea208
  188643: b2198e4
  188639: 55addc2
v: v3
  • Loading branch information
Sage Weil committed Dec 11, 2009
1 parent b5748a4 commit 394543b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 767ea5c33a360ce88da24e296e802dace5821799
refs/heads/master: d4a780ce8821a37dd135f15b6150a5bfc5604f29
5 changes: 3 additions & 2 deletions trunk/fs/ceph/mon_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,17 +320,18 @@ static void ceph_monc_handle_map(struct ceph_mon_client *monc,
if (IS_ERR(monmap)) {
pr_err("problem decoding monmap, %d\n",
(int)PTR_ERR(monmap));
return;
goto out;
}

if (ceph_check_fsid(monc->client, &monmap->fsid) < 0) {
kfree(monmap);
return;
goto out;
}

client->monc.monmap = monmap;
kfree(old);

out:
mutex_unlock(&monc->mutex);
wake_up(&client->mount_wq);
}
Expand Down

0 comments on commit 394543b

Please sign in to comment.