Al Viro 74dbbdd7fd New helper: deactivate_locked_super()
Does equivalent of up_write(&s->s_umount); deactivate_super(s);
However, it does not does not unlock it until it's all over.
As the result, it's safe to use to dispose of new superblock on ->get_sb()
failure exits - nobody will see the sucker until it's all over.
Equivalent using up_write/deactivate_super is safe for that purpose
if superblock is either	safe to use or has NULL ->s_root when we unlock.
Normally filesystems take the required precautions, but
	a) we do have bugs in that area in some of them.
	b) up_write/deactivate_super sequence is extremely common,
so the helper makes sense anyway.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2009-05-09 10:49:39 -04:00
..
2009-05-09 10:49:38 -04:00
2009-04-02 19:05:08 -07:00
2009-04-02 19:05:08 -07:00
2009-04-20 23:01:15 -04:00
2009-04-08 10:21:43 -07:00
2009-01-22 13:15:57 +03:00
2009-05-09 10:49:38 -04:00
2009-04-02 19:05:09 -07:00
2009-03-31 19:44:38 +03:00
2009-04-17 09:32:11 -07:00
2009-01-22 13:15:58 +03:00
2009-05-09 10:49:38 -04:00
2009-04-13 15:04:29 -07:00
2009-03-31 23:00:26 -04:00
2009-04-20 23:02:51 -04:00
2009-05-09 10:49:38 -04:00
2009-04-02 19:05:10 -07:00
2009-04-20 23:02:50 -04:00
2009-04-02 19:05:10 -07:00
2009-04-02 19:05:10 -07:00
2009-03-27 14:44:03 -04:00
2009-03-31 23:00:27 -04:00
2009-05-02 15:36:09 -07:00
2009-04-02 19:04:48 -07:00
2009-05-02 15:36:10 -07:00
2009-03-31 23:00:26 -04:00
2009-04-07 08:31:16 -07:00
2009-04-07 08:31:16 -07:00
2009-05-09 10:49:38 -04:00
2009-04-17 07:38:07 -07:00
2009-04-20 23:02:52 -04:00
2009-05-09 10:49:39 -04:00
2009-02-18 15:37:53 -08:00
2009-04-20 23:02:50 -04:00