mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-12 16:11:04 +00:00
NFS: Remove BKL usage from the write path
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
4d80f2ecd5
commit
b6a2e569e2
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user