aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorNoah Watkins <noahwatkins@gmail.com>2011-08-22 15:49:23 -0400
committerSage Weil <sage@newdream.net>2011-10-25 19:10:16 -0400
commit80db8bea6a0f4fd047eafd8329a44d5a110f462b (patch)
tree17a119ced3e2a40972195cb67e1f48ea56076a6e /fs/ceph/super.c
parentf0ed1b7cef1e801ef470efc501f9c663fe10cebd (diff)
ceph: replace leading spaces with tabs
Trivial formatting fix. Signed-off-by: Noah Watkins <noahwatkins@gmail.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r--fs/ceph/super.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index f90dc0b011a7..788f5ad8e66d 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -294,29 +294,29 @@ static int parse_mount_options(struct ceph_mount_options **pfsopt,
294 294
295 dout("parse_mount_options %p, dev_name '%s'\n", fsopt, dev_name); 295 dout("parse_mount_options %p, dev_name '%s'\n", fsopt, dev_name);
296 296
297 fsopt->sb_flags = flags; 297 fsopt->sb_flags = flags;
298 fsopt->flags = CEPH_MOUNT_OPT_DEFAULT; 298 fsopt->flags = CEPH_MOUNT_OPT_DEFAULT;
299 299
300 fsopt->rsize = CEPH_RSIZE_DEFAULT; 300 fsopt->rsize = CEPH_RSIZE_DEFAULT;
301 fsopt->rasize = CEPH_RASIZE_DEFAULT; 301 fsopt->rasize = CEPH_RASIZE_DEFAULT;
302 fsopt->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL); 302 fsopt->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL);
303 fsopt->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT; 303 fsopt->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT;
304 fsopt->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT; 304 fsopt->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT;
305 fsopt->cap_release_safety = CEPH_CAP_RELEASE_SAFETY_DEFAULT; 305 fsopt->cap_release_safety = CEPH_CAP_RELEASE_SAFETY_DEFAULT;
306 fsopt->max_readdir = CEPH_MAX_READDIR_DEFAULT; 306 fsopt->max_readdir = CEPH_MAX_READDIR_DEFAULT;
307 fsopt->max_readdir_bytes = CEPH_MAX_READDIR_BYTES_DEFAULT; 307 fsopt->max_readdir_bytes = CEPH_MAX_READDIR_BYTES_DEFAULT;
308 fsopt->congestion_kb = default_congestion_kb(); 308 fsopt->congestion_kb = default_congestion_kb();
309 309
310 /* ip1[:port1][,ip2[:port2]...]:/subdir/in/fs */ 310 /* ip1[:port1][,ip2[:port2]...]:/subdir/in/fs */
311 err = -EINVAL; 311 err = -EINVAL;
312 if (!dev_name) 312 if (!dev_name)
313 goto out; 313 goto out;
314 *path = strstr(dev_name, ":/"); 314 *path = strstr(dev_name, ":/");
315 if (*path == NULL) { 315 if (*path == NULL) {
316 pr_err("device name is missing path (no :/ in %s)\n", 316 pr_err("device name is missing path (no :/ in %s)\n",
317 dev_name); 317 dev_name);
318 goto out; 318 goto out;
319 } 319 }
320 dev_name_end = *path; 320 dev_name_end = *path;
321 dout("device name '%.*s'\n", (int)(dev_name_end - dev_name), dev_name); 321 dout("device name '%.*s'\n", (int)(dev_name_end - dev_name), dev_name);
322 322