mirror of
https://github.com/adulau/aha.git
synced 2024-12-29 04:06:22 +00:00
NFS: Fix up a mismerged patch
Move the definition of nfs_need_commit() into the #ifdef CONFIG_NFS_V3 section as originally intended in the patch "NFS: cleanup - remove struct nfs_inode->ncommit" Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
2e3c230bc7
commit
47c6256420
1 changed files with 1 additions and 1 deletions
|
@ -537,13 +537,13 @@ static void nfs_cancel_commit_list(struct list_head *head)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4)
|
||||||
static int
|
static int
|
||||||
nfs_need_commit(struct nfs_inode *nfsi)
|
nfs_need_commit(struct nfs_inode *nfsi)
|
||||||
{
|
{
|
||||||
return radix_tree_tagged(&nfsi->nfs_page_tree, NFS_PAGE_TAG_COMMIT);
|
return radix_tree_tagged(&nfsi->nfs_page_tree, NFS_PAGE_TAG_COMMIT);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4)
|
|
||||||
/*
|
/*
|
||||||
* nfs_scan_commit - Scan an inode for commit requests
|
* nfs_scan_commit - Scan an inode for commit requests
|
||||||
* @inode: NFS inode to scan
|
* @inode: NFS inode to scan
|
||||||
|
|
Loading…
Reference in a new issue