diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 36fd35e0de83..e560a78995a3 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c | |||
@@ -537,13 +537,13 @@ static void nfs_cancel_commit_list(struct list_head *head) | |||
537 | } | 537 | } |
538 | } | 538 | } |
539 | 539 | ||
540 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | ||
540 | static int | 541 | static int |
541 | nfs_need_commit(struct nfs_inode *nfsi) | 542 | nfs_need_commit(struct nfs_inode *nfsi) |
542 | { | 543 | { |
543 | return radix_tree_tagged(&nfsi->nfs_page_tree, NFS_PAGE_TAG_COMMIT); | 544 | return radix_tree_tagged(&nfsi->nfs_page_tree, NFS_PAGE_TAG_COMMIT); |
544 | } | 545 | } |
545 | 546 | ||
546 | #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) | ||
547 | /* | 547 | /* |
548 | * nfs_scan_commit - Scan an inode for commit requests | 548 | * nfs_scan_commit - Scan an inode for commit requests |
549 | * @inode: NFS inode to scan | 549 | * @inode: NFS inode to scan |