diff options
-rw-r--r-- | fs/ext4/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 8f4bda75122..bd87b7a66af 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c | |||
@@ -2156,9 +2156,7 @@ retry: | |||
2156 | err = PTR_ERR(inode); | 2156 | err = PTR_ERR(inode); |
2157 | if (!IS_ERR(inode)) { | 2157 | if (!IS_ERR(inode)) { |
2158 | init_special_inode(inode, inode->i_mode, rdev); | 2158 | init_special_inode(inode, inode->i_mode, rdev); |
2159 | #ifdef CONFIG_EXT4_FS_XATTR | ||
2160 | inode->i_op = &ext4_special_inode_operations; | 2159 | inode->i_op = &ext4_special_inode_operations; |
2161 | #endif | ||
2162 | err = ext4_add_nondir(handle, dentry, inode); | 2160 | err = ext4_add_nondir(handle, dentry, inode); |
2163 | } | 2161 | } |
2164 | ext4_journal_stop(handle); | 2162 | ext4_journal_stop(handle); |