aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/nfs/dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/dir.c b/fs/nfs/dir.c
index 58d44057813e..c86a1ead4772 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
@@ -1519,8 +1519,8 @@ static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *sym
1519 pagevec_init(&lru_pvec, 0); 1519 pagevec_init(&lru_pvec, 0);
1520 if (!add_to_page_cache(page, dentry->d_inode->i_mapping, 0, 1520 if (!add_to_page_cache(page, dentry->d_inode->i_mapping, 0,
1521 GFP_KERNEL)) { 1521 GFP_KERNEL)) {
1522 if (!pagevec_add(&lru_pvec, page)) 1522 pagevec_add(&lru_pvec, page);
1523 __pagevec_lru_add(&lru_pvec); 1523 pagevec_lru_add(&lru_pvec);
1524 SetPageUptodate(page); 1524 SetPageUptodate(page);
1525 unlock_page(page); 1525 unlock_page(page);
1526 } else 1526 } else