Commit b6a2e569 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

NFS: Remove BKL usage from the write path

parent 4d80f2ec
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -393,9 +393,7 @@ static int nfs_write_end(struct file *file, struct address_space *mapping,
			zero_user_segment(page, pglen, PAGE_CACHE_SIZE);
	}

	lock_kernel();
	status = nfs_updatepage(file, page, offset, copied);
	unlock_kernel();

	unlock_page(page);
	page_cache_release(page);