Files
linux/fs
Christoph Hellwig 4ea3ada295 [PATCH] new helper: d_obtain_alias
The calling conventions of d_alloc_anon are rather unfortunate for all
users, and it's name is not very descriptive either.

Add d_obtain_alias as a new exported helper that drops the inode
reference in the failure case, too and allows to pass-through NULL
pointers and inodes to allow for tail-calls in the export operations.

Incidentally this helper already existed as a private function in
libfs.c as exportfs_d_alloc so kill that one and switch the callers
to d_obtain_alias.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2008-10-23 05:13:00 -04:00
..
2008-10-17 12:44:46 -05:00
2008-10-16 11:21:48 -07:00
2008-09-13 14:41:51 -07:00
2008-10-20 08:52:42 -07:00
2008-08-20 15:40:32 -07:00
2008-10-13 09:47:43 +11:00
2008-09-05 09:51:30 -05:00
2008-09-02 23:15:22 +01:00
2008-04-29 08:06:00 -07:00
2008-10-16 16:08:57 +02:00
2008-10-16 11:21:46 -07:00
2008-10-23 05:12:58 -04:00
2008-07-25 10:53:34 -07:00
2008-10-23 05:12:51 -04:00
2008-10-17 02:38:36 +11:00
2008-10-14 18:31:46 -07:00
2008-07-25 10:53:34 -07:00
2008-07-26 20:53:40 -04:00
2008-07-26 12:00:08 -07:00
2008-10-16 11:21:38 -07:00
2008-10-09 08:57:05 +02:00
2008-10-20 08:52:32 -07:00
2008-10-23 05:12:59 -04:00
2008-10-23 05:13:00 -04:00
2008-05-01 13:08:16 -04:00
2008-10-16 11:21:32 -07:00
2008-08-01 11:25:24 -04:00
2008-07-26 20:53:40 -04:00
2008-02-06 10:41:07 -08:00
2008-10-23 05:13:00 -04:00
2008-10-16 11:21:51 -07:00
2008-02-14 21:13:33 -08:00
2008-10-13 09:51:41 -07:00
2008-07-25 10:53:35 -07:00