]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfs/file.c
NFS: Remove BKL usage from the write path
[linux-2.6-omap-h63xx.git] / fs / nfs / file.c
index 509dcb58959e25dc928b56c3029ed2308bfa332b..f919d9a01a27210b1072eea7cccc168308a88c10 100644 (file)
@@ -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);