ext4: always set i_op in ext4_mknod()
commit6a08f447facb4f9e29fcc30fb68060bb5a0d21c2
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Thu, 27 Sep 2012 01:24:57 +0000 (26 21:24 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Sep 2012 01:24:57 +0000 (26 21:24 -0400)
tree45bbcf11848b9d8743d4284f708842cf651414e3
parent63fedaf1c2dd546da22ff5b4ae06e9b4efba5146
ext4: always set i_op in ext4_mknod()

ext4_special_inode_operations have their own ifdef CONFIG_EXT4_FS_XATTR
to mask those methods. And ext4_iget also always sets it, so there is
an inconsistency.

Signed-off-by: Bernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/namei.c