NFS: Fix a preemption count leak in nfs_update_request
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 5 Jun 2008 19:17:39 +0000 (15:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 9 Jul 2008 16:08:39 +0000 (12:08 -0400)
The commit 2785259631697ebb0749a3782cca206e2e542939 (nfs: use GFP_NOFS
preloads for radix-tree insertion) appears to have introduced a bug:
We only want to call radix_tree_preload() once after creating a request.
Calling it every time we loop after we created the request, will cause
preemption count leaks.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Nick Piggin <npiggin@suse.de>

No differences found