ext4: always set i_op in ext4_mknod()
authorBernd Schubert <bernd.schubert@itwm.fraunhofer.de>
Thu, 27 Sep 2012 01:24:57 +0000 (21:24 -0400)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 17 Oct 2012 02:49:03 +0000 (03:49 +0100)
commit9881fcc8b68753201ab8f84041ec70beac6df2f6
tree8eddc5750523645cd23a0a02ca4dcc29c47af58c
parent4ac206a50c319f692aab900408f949b04f8deab7
ext4: always set i_op in ext4_mknod()

commit 6a08f447facb4f9e29fcc30fb68060bb5a0d21c2 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/ext4/namei.c