aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/write.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r--fs/nfs/write.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c
index bdc4db23951e..5e2f10304548 100644
--- a/fs/nfs/write.c
+++ b/fs/nfs/write.c
@@ -868,7 +868,6 @@ static void nfs_write_completion(struct nfs_pgio_header *hdr)
868{ 868{
869 struct nfs_commit_info cinfo; 869 struct nfs_commit_info cinfo;
870 unsigned long bytes = 0; 870 unsigned long bytes = 0;
871 bool do_destroy;
872 871
873 if (test_bit(NFS_IOHDR_REDO, &hdr->flags)) 872 if (test_bit(NFS_IOHDR_REDO, &hdr->flags))
874 goto out; 873 goto out;
@@ -898,7 +897,6 @@ remove_req:
898next: 897next:
899 nfs_unlock_request(req); 898 nfs_unlock_request(req);
900 nfs_end_page_writeback(req); 899 nfs_end_page_writeback(req);
901 do_destroy = !test_bit(NFS_IOHDR_NEED_COMMIT, &hdr->flags);
902 nfs_release_request(req); 900 nfs_release_request(req);
903 } 901 }
904out: 902out: