Re: [take 3] pohmelfs: call for inclusion

From: Joe Perches
Date: Fri Mar 16 2012 - 09:29:21 EST


On Fri, 2012-03-16 at 16:18 +0400, Evgeniy Polyakov wrote:
> I'm please to announce new and completely rewritten distributed
> filesystem - POHMELFS

Unfortunately, it doesn't compile against -next.

+static int pohmelfs_fill_super(struct super_block *sb, void *data, int silent)
[]
+ sb->s_root = d_alloc_root(&psb->root->vfs_inode);


commit 4f7e69f8eb314b1dd187026cca2bba5245caf75a
Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
Date: Sun Feb 12 22:15:47 2012 -0500

vfs: d_alloc_root() gone

all callers converted to d_make_root() by now

Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>

Documentation/filesystems/porting:
[mandatory]
d_alloc_root() is gone, along with a lot of bugs caused by code
misusing it. Replacement: d_make_root(inode). The difference is,
d_make_root() drops the reference to inode if dentry allocation fails.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/