Miklos Szeredi 0720b31597 [PATCH] fuse: simplify locking
This is in preparation for removing the global spinlock in favor of a
per-mount one.

The only critical part is the interaction between fuse_dev_release() and
fuse_fill_super(): fuse_dev_release() must see the assignment to
file->private_data, otherwise it will leak the reference to fuse_conn.

This is ensured by the fput() operation, which will synchronize the assignment
with other CPU's that may do a final fput() soon after this.

Also redundant locking is removed from fuse_fill_super(), where exclusion is
already ensured by the BKL held for this function by the VFS.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:48 -07:00
..
2006-04-11 06:18:41 -07:00
2006-04-11 06:18:48 -07:00
2006-03-31 12:18:51 -08:00
2006-04-01 01:15:35 +02:00
2006-03-26 08:56:55 -08:00
2006-03-31 12:18:55 -08:00
2006-03-24 07:33:19 -08:00
2006-03-29 13:24:50 +11:00
2006-04-01 01:16:26 +02: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-11 06:18:35 -07:00
2006-01-11 18:42:13 -08:00
2006-01-10 08:01:25 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-02 13:36:13 +02:00
2006-01-08 20:12:40 -08:00
2006-04-02 13:37:19 +02:00
2005-10-30 17:37:32 -08:00
2006-04-02 13:38:18 +02:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-03-31 12:18:54 -08:00
2006-03-28 09:16:08 -08:00
2006-03-24 07:33:19 -08:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2005-04-16 15:20:36 -07: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-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00
2005-04-16 15:20:36 -07:00