提交 b6a2e569 编写于 作者: T Trond Myklebust

NFS: Remove BKL usage from the write path

Signed-off-by: NTrond Myklebust <Trond.Myklebust@netapp.com>
上级 4d80f2ec
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册