Merge tag '9p-for-5.1' of git://github.com/martinetd/linux
[platform/kernel/linux-rpi.git] / fs / 9p / vfs_super.c
index eeab995..d13d35c 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)