aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ceph/addr.c')
-rw-r--r--fs/ceph/addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ceph/addr.c b/fs/ceph/addr.c
index c7d673ffe023..bf535815592d 100644
--- a/fs/ceph/addr.c
+++ b/fs/ceph/addr.c
@@ -600,8 +600,8 @@ static int ceph_writepages_start(struct address_space *mapping,
600 pr_warning("writepage_start %p on forced umount\n", inode); 600 pr_warning("writepage_start %p on forced umount\n", inode);
601 return -EIO; /* we're in a forced umount, don't write! */ 601 return -EIO; /* we're in a forced umount, don't write! */
602 } 602 }
603 if (client->mount_args.wsize && client->mount_args.wsize < wsize) 603 if (client->mount_args->wsize && client->mount_args->wsize < wsize)
604 wsize = client->mount_args.wsize; 604 wsize = client->mount_args->wsize;
605 if (wsize < PAGE_CACHE_SIZE) 605 if (wsize < PAGE_CACHE_SIZE)
606 wsize = PAGE_CACHE_SIZE; 606 wsize = PAGE_CACHE_SIZE;
607 max_pages_ever = wsize >> PAGE_CACHE_SHIFT; 607 max_pages_ever = wsize >> PAGE_CACHE_SHIFT;