Skip to content
Snippets Groups Projects
Commit 6822ded3 authored by Alessandro Rubini's avatar Alessandro Rubini
Browse files

sdbfs/kernel/sdbfs-core: entrypoint me be not zero: obey it



Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
parent 418ac414
Branches
Tags
No related merge requests found
......@@ -252,7 +252,7 @@ static int sdbfs_fill_super(struct super_block *sb, void *data, int silent)
sb->s_magic = SDB_MAGIC;
sb->s_op = &sdbfs_super_ops;
inode = sdbfs_iget(sb, 1 /* FIXME: root inode */);
inode = sdbfs_iget(sb, sd->entrypoint + 1 /* can't be zero */);
if (IS_ERR(inode)) {
sdbfs_put(sd);
return PTR_ERR(inode);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment