projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17db143
)
ceph: fix cap_wanted_delay_{min,max} mount option initialization
author
Sage Weil
<sage@newdream.net>
Tue, 18 Jan 2011 15:59:40 +0000
(07:59 -0800)
committer
Sage Weil
<sage@newdream.net>
Wed, 19 Jan 2011 17:23:22 +0000
(09:23 -0800)
These were initialized to 0 instead of the default, fallout from the RBD
refactor in
3d14c5d2b6e15c21d8e5467dc62d33127c23a644
.
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/super.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/super.c
b/fs/ceph/super.c
index bf6f0f34082a082d1a39d3640f5a30956dbcb13d..9c5085465a63056ac493a5febe8b184163c933a6 100644
(file)
--- a/
fs/ceph/super.c
+++ b/
fs/ceph/super.c
@@
-290,6
+290,8
@@
static int parse_mount_options(struct ceph_mount_options **pfsopt,
fsopt->rsize = CEPH_MOUNT_RSIZE_DEFAULT;
fsopt->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL);
+ fsopt->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT;
+ fsopt->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT;
fsopt->cap_release_safety = CEPH_CAP_RELEASE_SAFETY_DEFAULT;
fsopt->max_readdir = CEPH_MAX_READDIR_DEFAULT;
fsopt->max_readdir_bytes = CEPH_MAX_READDIR_BYTES_DEFAULT;