X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=fs%2Freiserfs%2Fsuper.c;h=8b7616ef06d89a47904866decd2a8123461cc4d7;hb=f466c6fdb3b1f043ff1977a8d2a1d0cd4dc164fa;hp=e12d8b97cd4dbf3c4c7dc249d42c66a8aeadc4bb;hpb=a68f20ef80e62b3dfed3097ad57ec88550cdabe7;p=mv-sheeva.git diff --git a/fs/reiserfs/super.c b/fs/reiserfs/super.c index e12d8b97cd4..8b7616ef06d 100644 --- a/fs/reiserfs/super.c +++ b/fs/reiserfs/super.c @@ -16,9 +16,9 @@ #include #include #include -#include -#include -#include +#include "reiserfs.h" +#include "acl.h" +#include "xattr.h" #include #include #include @@ -1874,11 +1874,9 @@ static int reiserfs_fill_super(struct super_block *s, void *data, int silent) unlock_new_inode(root_inode); } - s->s_root = d_alloc_root(root_inode); - if (!s->s_root) { - iput(root_inode); + s->s_root = d_make_root(root_inode); + if (!s->s_root) goto error; - } // define and initialize hash function sbi->s_hash_function = hash_function(s); if (sbi->s_hash_function == NULL) {