mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
nfs: remove nfs_inode_dio_wait
Just call inode_dio_wait directly instead of through a pointless wrapper. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
4ff79bc709
commit
95d9f6c3ed
3 changed files with 3 additions and 7 deletions
|
@ -141,7 +141,7 @@ void nfs_evict_inode(struct inode *inode)
|
|||
|
||||
int nfs_sync_inode(struct inode *inode)
|
||||
{
|
||||
nfs_inode_dio_wait(inode);
|
||||
inode_dio_wait(inode);
|
||||
return nfs_wb_all(inode);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(nfs_sync_inode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue