Skip to content

Commit

Permalink
NFS: Remove BKL usage from the write path
Browse files Browse the repository at this point in the history
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Jul 15, 2008
1 parent 4d80f2e commit b6a2e56
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/nfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b6a2e56

Please sign in to comment.