aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index d4757c98ec14..d47c5ec7fb1f 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -779,6 +779,10 @@ static int ceph_register_bdi(struct super_block *sb,
779 fsc->backing_dev_info.ra_pages = 779 fsc->backing_dev_info.ra_pages =
780 (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1) 780 (fsc->mount_options->rsize + PAGE_CACHE_SIZE - 1)
781 >> PAGE_SHIFT; 781 >> PAGE_SHIFT;
782 else
783 fsc->backing_dev_info.ra_pages =
784 default_backing_dev_info.ra_pages;
785
782 err = bdi_register(&fsc->backing_dev_info, NULL, "ceph-%d", 786 err = bdi_register(&fsc->backing_dev_info, NULL, "ceph-%d",
783 atomic_long_inc_return(&bdi_seq)); 787 atomic_long_inc_return(&bdi_seq));
784 if (!err) 788 if (!err)