projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.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
|
blame
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index 35dbdad07b1c0a66e56ac5e4492ec8a1e9bc0d96..0d451a83bc83202000d823deb931052dfa7d6c51 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;