summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
diff options
context:
space:
mode:
authorJoe Perches2012-11-29 15:37:03 +0100
committerAlex Elder2012-12-13 15:13:07 +0100
commitd2cc4dde9206aa2c7fb237aa689d3277cc070547 (patch)
tree8e0c48be01ac4bd07c19a526a08fbb30c6bac11b /fs/ceph/super.c
parentlibceph: remove 'osdtimeout' option (diff)
downloadkernel-qcow2-linux-d2cc4dde9206aa2c7fb237aa689d3277cc070547.tar.gz
kernel-qcow2-linux-d2cc4dde9206aa2c7fb237aa689d3277cc070547.tar.xz
kernel-qcow2-linux-d2cc4dde9206aa2c7fb237aa689d3277cc070547.zip
bdi_register: add __printf verification, fix arg mismatch
__printf is useful to verify format and arguments. Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Alex Elder <elder@inktank.com>
Diffstat (limited to 'fs/ceph/super.c')
-rw-r--r--fs/ceph/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index fcda1c73a1e5..1a144001b2e1 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -842,7 +842,7 @@ static int ceph_register_bdi(struct super_block *sb,
fsc->backing_dev_info.ra_pages =
default_backing_dev_info.ra_pages;
- err = bdi_register(&fsc->backing_dev_info, NULL, "ceph-%d",
+ err = bdi_register(&fsc->backing_dev_info, NULL, "ceph-%ld",
atomic_long_inc_return(&bdi_seq));
if (!err)
sb->s_bdi = &fsc->backing_dev_info;