aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2006-06-04 02:51:37 -0700
committerLinus Torvalds <[email protected]>2006-06-05 12:29:16 -0700
commit6d09bb627d2470299dfb1af0e6d27fb4aece9196 (patch)
treece62b91f11c5df5fbee41aa053b33add79c2c37a /scripts/basic
parentc7d2d28b9851d0ffc9924b0e36bac806d18ebf25 (diff)
[PATCH] fs/namei.c: Call to file_permission() under a spinlock in do_lookup_path()
From: Trond Myklebust <[email protected]> We're presently running lock_kernel() under fs_lock via nfs's ->permission handler. That's a ranking bug and sometimes a sleep-in-spinlock bug. This problem was introduced in the openat() patchset. We should not need to hold the current->fs->lock for a codepath that doesn't use current->fs. [[email protected]: fix error path] Signed-off-by: Trond Myklebust <[email protected]> Cc: Al Viro <[email protected]> Signed-off-by: Sergey Vlasov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions