Files
Linux/fs
Trond Myklebust 6d09bb627d [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]>
2006-06-05 12:29:16 -07:00
..
2006-05-15 11:20:56 -07:00
2006-03-31 12:18:51 -08:00
2006-05-15 11:20:58 -07:00
2006-04-19 12:43:47 -04:00
2006-03-31 12:18:55 -08:00
2006-03-24 07:33:19 -08:00
2006-04-19 09:13:51 -07:00
2006-04-22 09:19:53 -07:00
2006-04-02 13:39:21 +02:00
2006-04-02 13:40:13 +02:00
2006-03-31 12:18:55 -08:00
…
2006-04-02 13:36:13 +02:00
2006-04-02 13:37:19 +02:00
2006-04-11 13:53:33 +02:00
2006-04-02 13:38:18 +02:00
…
…
2006-05-08 08:07:17 -07:00
2006-03-28 09:16:08 -08:00
2006-03-24 07:33:19 -08:00
2006-05-15 11:20:54 -07:00
2006-03-24 07:33:24 -08:00
…
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
…
2006-03-23 07:38:12 -08:00
2006-04-28 21:04:59 +10:00
2006-03-26 08:56:55 -08:00