]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/nfs/dir.c
vmscan: split LRU lists into anon & file sets
[mirror_ubuntu-zesty-kernel.git] / fs / nfs / dir.c
index 2ab70d46ecbc7ac43a0585183adcfe248ac5b127..efdba2e802d78bcdf520794e964e873fce793280 100644 (file)
@@ -1517,7 +1517,7 @@ static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *sym
        if (!add_to_page_cache(page, dentry->d_inode->i_mapping, 0,
                                                        GFP_KERNEL)) {
                pagevec_add(&lru_pvec, page);
-               pagevec_lru_add(&lru_pvec);
+               pagevec_lru_add_file(&lru_pvec);
                SetPageUptodate(page);
                unlock_page(page);
        } else