diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-06-11 13:26:16 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2008-07-15 18:10:52 -0400 |
commit | b6a2e569e2157509951c9f3f58dfa18b44ce91b3 (patch) | |
tree | 1398d38574357e8f89948102f2df1e86634b91f1 /fs | |
parent | 4d80f2ecd506d9732ad94a6da104580bb47680d6 (diff) | |
download | op-kernel-dev-b6a2e569e2157509951c9f3f58dfa18b44ce91b3.zip op-kernel-dev-b6a2e569e2157509951c9f3f58dfa18b44ce91b3.tar.gz |
NFS: Remove BKL usage from the write path
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfs/file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/nfs/file.c b/fs/nfs/file.c index 509dcb5..f919d9a 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); |