]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 27 Sep 2012 01:24:57 +0000 (21:24 -0400)
commitd820002f34b98334072eeea0e66a49a9272ce730
tree45bbcf11848b9d8743d4284f708842cf651414e3
parentcb20f272742976a977ba9bd563b8566ddb1ea0a1
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