Merge tag '9p-for-5.1' of git://github.com/martinetd/linux
[muen/linux.git] / fs / 9p / vfs_super.c
index eeab9953af896fa034d9b61e2088cab28eee0882..d13d35cf69c0e416c04694915215984fb1d09308 100644 (file)
@@ -92,7 +92,7 @@ v9fs_fill_super(struct super_block *sb, struct v9fs_session_info *v9ses,
                return ret;
 
        if (v9ses->cache)
-               sb->s_bdi->ra_pages = (VM_MAX_READAHEAD * 1024)/PAGE_SIZE;
+               sb->s_bdi->ra_pages = VM_READAHEAD_PAGES;
 
        sb->s_flags |= SB_ACTIVE | SB_DIRSYNC;
        if (!v9ses->cache)