projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d80f2e
)
NFS: Remove BKL usage from the write path
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Wed, 11 Jun 2008 17:26:16 +0000
(13:26 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 15 Jul 2008 22:10:52 +0000
(18:10 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/file.c
patch
|
blob
|
history
diff --git
a/fs/nfs/file.c
b/fs/nfs/file.c
index
509dcb5
..
f919d9a
100644
(file)
--- 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);