aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/nfs/file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c
index 509dcb58959e..f919d9a01a27 100644
--- a/fs/nfs/file.c
+++ b/fs/nfs/file.c
@@ -393,9 +393,7 @@ static int nfs_write_end(struct file *file, struct address_space *mapping,
393 zero_user_segment(page, pglen, PAGE_CACHE_SIZE); 393 zero_user_segment(page, pglen, PAGE_CACHE_SIZE);
394 } 394 }
395 395
396 lock_kernel();
397 status = nfs_updatepage(file, page, offset, copied); 396 status = nfs_updatepage(file, page, offset, copied);
398 unlock_kernel();
399 397
400 unlock_page(page); 398 unlock_page(page);
401 page_cache_release(page); 399 page_cache_release(page);