dir.c (3c3d7cb1db4af176dab843f22ea092a4ef1eb989) | dir.c (a0b54adda3fe4b4cc6d28f2a9217cd35d1aa888c) |
---|---|
1/* 2 * linux/fs/nfs/dir.c 3 * 4 * Copyright (C) 1992 Rick Sladkey 5 * 6 * nfs directory handling functions 7 * 8 * 10 Apr 1996 Added silly rename for unlink --okir --- 1832 unchanged lines hidden (view full) --- 1841 /* 1842 * No big deal if we can't add this page to the page cache here. 1843 * READLINK will get the missing page from the server if needed. 1844 */ 1845 if (!add_to_page_cache_lru(page, dentry->d_inode->i_mapping, 0, 1846 GFP_KERNEL)) { 1847 SetPageUptodate(page); 1848 unlock_page(page); | 1/* 2 * linux/fs/nfs/dir.c 3 * 4 * Copyright (C) 1992 Rick Sladkey 5 * 6 * nfs directory handling functions 7 * 8 * 10 Apr 1996 Added silly rename for unlink --okir --- 1832 unchanged lines hidden (view full) --- 1841 /* 1842 * No big deal if we can't add this page to the page cache here. 1843 * READLINK will get the missing page from the server if needed. 1844 */ 1845 if (!add_to_page_cache_lru(page, dentry->d_inode->i_mapping, 0, 1846 GFP_KERNEL)) { 1847 SetPageUptodate(page); 1848 unlock_page(page); |
1849 /* 1850 * add_to_page_cache_lru() grabs an extra page refcount. 1851 * Drop it here to avoid leaking this page later. 1852 */ 1853 page_cache_release(page); |
|
1849 } else 1850 __free_page(page); 1851 1852 return 0; 1853} 1854EXPORT_SYMBOL_GPL(nfs_symlink); 1855 1856int --- 476 unchanged lines hidden --- | 1854 } else 1855 __free_page(page); 1856 1857 return 0; 1858} 1859EXPORT_SYMBOL_GPL(nfs_symlink); 1860 1861int --- 476 unchanged lines hidden --- |