Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c765d479 authored by Al Viro's avatar Al Viro
Browse files

affs: do not zero ->i_op



it is already set to empty table and should never be NULL

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7f5ff766
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -119,8 +119,7 @@ struct inode *affs_iget(struct super_block *sb, unsigned long ino)
		goto bad_inode;
#else
		inode->i_mode |= S_IFDIR;
		inode->i_op = NULL;
		inode->i_fop = NULL;
		/* ... and leave ->i_op and ->i_fop pointing to empty */
		break;
#endif
	case ST_LINKFILE: