inode.c (ec3b34e1975670e68be3abff76f56dbb41dd417c) inode.c (78f444f6736ed9a264fc3e801ca620daee4d5d9f)
1/*
2 * linux/fs/affs/inode.c
3 *
4 * (c) 1996 Hans-Joachim Widmaier - Rewritten
5 *
6 * (C) 1993 Ray Burr - Modified for Amiga FFS filesystem.
7 *
8 * (C) 1992 Eric Youngdale Modified for ISO9660 filesystem.

--- 332 unchanged lines hidden (view full) ---

341 * and insert it into the hash table.
342 */
343
344int
345affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type)
346{
347 struct super_block *sb = dir->i_sb;
348 struct buffer_head *inode_bh = NULL;
1/*
2 * linux/fs/affs/inode.c
3 *
4 * (c) 1996 Hans-Joachim Widmaier - Rewritten
5 *
6 * (C) 1993 Ray Burr - Modified for Amiga FFS filesystem.
7 *
8 * (C) 1992 Eric Youngdale Modified for ISO9660 filesystem.

--- 332 unchanged lines hidden (view full) ---

341 * and insert it into the hash table.
342 */
343
344int
345affs_add_entry(struct inode *dir, struct inode *inode, struct dentry *dentry, s32 type)
346{
347 struct super_block *sb = dir->i_sb;
348 struct buffer_head *inode_bh = NULL;
349 struct buffer_head *bh = NULL;
349 struct buffer_head *bh;
350 u32 block = 0;
351 int retval;
352
353 pr_debug("%s(dir=%lu, inode=%lu, \"%pd\", type=%d)\n", __func__,
354 dir->i_ino, inode->i_ino, dentry, type);
355
356 retval = -EIO;
357 bh = affs_bread(sb, inode->i_ino);

--- 59 unchanged lines hidden ---
350 u32 block = 0;
351 int retval;
352
353 pr_debug("%s(dir=%lu, inode=%lu, \"%pd\", type=%d)\n", __func__,
354 dir->i_ino, inode->i_ino, dentry, type);
355
356 retval = -EIO;
357 bh = affs_bread(sb, inode->i_ino);

--- 59 unchanged lines hidden ---