Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFS: Rename nfs_commit_unstable_pages() to nfs_write_inode()

All nfs_write_inode() does is pass its arguments to
nfs_commit_unstable_pages(). Let's cut out the middle man and have
nfs_write_pages() do the work directly.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>

authored by

Anna Schumaker and committed by
Trond Myklebust
ae09c31f 3f10a6af

+1 -6
+1 -6
fs/nfs/write.c
··· 1812 1812 return res; 1813 1813 } 1814 1814 1815 - static int nfs_commit_unstable_pages(struct inode *inode, struct writeback_control *wbc) 1815 + int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) 1816 1816 { 1817 1817 struct nfs_inode *nfsi = NFS_I(inode); 1818 1818 int flags = FLUSH_SYNC; ··· 1846 1846 out_mark_dirty: 1847 1847 __mark_inode_dirty(inode, I_DIRTY_DATASYNC); 1848 1848 return ret; 1849 - } 1850 - 1851 - int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) 1852 - { 1853 - return nfs_commit_unstable_pages(inode, wbc); 1854 1849 } 1855 1850 EXPORT_SYMBOL_GPL(nfs_write_inode); 1856 1851