diff options
author | Anna Schumaker <Anna.Schumaker@netapp.com> | 2015-07-13 14:01:32 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-08-17 13:32:32 -0500 |
commit | ae09c31f66cc673bb8c64a5dbfdc04ab67f66d7e (patch) | |
tree | 0b7606e2db94be907bceccb2feeb842c5a7f13ef /fs/nfs | |
parent | 3f10a6af4b577da2117907ac8420f27af81d57de (diff) | |
download | linux-ae09c31f66cc673bb8c64a5dbfdc04ab67f66d7e.tar.gz linux-ae09c31f66cc673bb8c64a5dbfdc04ab67f66d7e.tar.bz2 linux-ae09c31f66cc673bb8c64a5dbfdc04ab67f66d7e.zip |
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>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/write.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index fdee9270ca15..388f48079c43 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1812,7 +1812,7 @@ out_mark_dirty: return res; } -static int nfs_commit_unstable_pages(struct inode *inode, struct writeback_control *wbc) +int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) { struct nfs_inode *nfsi = NFS_I(inode); int flags = FLUSH_SYNC; @@ -1847,11 +1847,6 @@ out_mark_dirty: __mark_inode_dirty(inode, I_DIRTY_DATASYNC); return ret; } - -int nfs_write_inode(struct inode *inode, struct writeback_control *wbc) -{ - return nfs_commit_unstable_pages(inode, wbc); -} EXPORT_SYMBOL_GPL(nfs_write_inode); /* |