From: Trond Myklebust Date: Wed, 11 Jun 2008 17:26:16 +0000 (-0400) Subject: NFS: Remove BKL usage from the write path X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b6a2e569e2157509951c9f3f58dfa18b44ce91b3;p=linux-beck.git NFS: Remove BKL usage from the write path Signed-off-by: Trond Myklebust --- 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, 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);