OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b736b3d
)
ceph: skip mds sync on forced unmount
author
Sage Weil
<sage@newdream.net>
Mon, 3 May 2010 22:22:00 +0000
(15:22 -0700)
committer
Sage Weil
<sage@newdream.net>
Mon, 17 May 2010 22:25:30 +0000
(15:25 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/mds_client.c
patch
|
blob
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index
35dbdad
..
0d451a8
100644
(file)
--- a/
fs/ceph/mds_client.c
+++ b/
fs/ceph/mds_client.c
@@
-2748,6
+2748,9
@@
void ceph_mdsc_sync(struct ceph_mds_client *mdsc)
{
u64 want_tid, want_flush;
+ if (mdsc->client->mount_state == CEPH_MOUNT_SHUTDOWN)
+ return;
+
dout("sync\n");
mutex_lock(&mdsc->mutex);
want_tid = mdsc->last_tid;