Skip to content

Commit

Permalink
ceph: fix cap_wanted_delay_{min,max} mount option initialization
Browse files Browse the repository at this point in the history
These were initialized to 0 instead of the default, fallout from the RBD
refactor in 3d14c5d.

Signed-off-by: Sage Weil <sage@newdream.net>
  • Loading branch information
Sage Weil committed Jan 19, 2011
1 parent 17db143 commit 50aac4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fs/ceph/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 50aac4f

Please sign in to comment.