Skip to content

Commit b6a2e56

Browse files
Trond MyklebustTrond Myklebust
authored andcommitted
NFS: Remove BKL usage from the write path
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
1 parent 4d80f2e commit b6a2e56

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

fs/nfs/file.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,9 +393,7 @@ static int nfs_write_end(struct file *file, struct address_space *mapping,
393393
zero_user_segment(page, pglen, PAGE_CACHE_SIZE);
394394
}
395395

396-
lock_kernel();
397396
status = nfs_updatepage(file, page, offset, copied);
398-
unlock_kernel();
399397

400398
unlock_page(page);
401399
page_cache_release(page);

0 commit comments

Comments
 (0)