Re: [patch 5/15] fs/logfs/dir.c

From: Kyungmin Park
Date: Fri Apr 04 2008 - 02:22:40 EST


Hi,

It's just quick view
> +
> +static int logfs_lookup_handler(struct inode *dir, struct dentry *dentry,
> + struct logfs_disk_dentry *dd, loff_t pos, void *arg)
> +{
> + struct inode *inode;
> +
> + inode = iget(dir->i_sb, be64_to_cpu(dd->ino));
> + if (!inode)
> + return -EIO;
> + return PTR_ERR(d_splice_alias(inode, dentry));
> +}
> +

The latest kernel doesn't have iget anymore. I saw some files use the
logfs_iget but dir.c, readwrite.c, ... uses the iget directly.
Please update this one.

Thank you,
Kyungmin Park
--
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/