diff options
Diffstat (limited to 'fs/ubifs/dir.c')
-rw-r--r-- | fs/ubifs/dir.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/ubifs/dir.c b/fs/ubifs/dir.c index ec9f1870ab7f..62a2727f4ecf 100644 --- a/fs/ubifs/dir.c +++ b/fs/ubifs/dir.c | |||
@@ -170,8 +170,6 @@ struct inode *ubifs_new_inode(struct ubifs_info *c, const struct inode *dir, | |||
170 | return inode; | 170 | return inode; |
171 | } | 171 | } |
172 | 172 | ||
173 | #ifdef CONFIG_UBIFS_FS_DEBUG | ||
174 | |||
175 | static int dbg_check_name(const struct ubifs_info *c, | 173 | static int dbg_check_name(const struct ubifs_info *c, |
176 | const struct ubifs_dent_node *dent, | 174 | const struct ubifs_dent_node *dent, |
177 | const struct qstr *nm) | 175 | const struct qstr *nm) |
@@ -185,12 +183,6 @@ static int dbg_check_name(const struct ubifs_info *c, | |||
185 | return 0; | 183 | return 0; |
186 | } | 184 | } |
187 | 185 | ||
188 | #else | ||
189 | |||
190 | #define dbg_check_name(c, dent, nm) 0 | ||
191 | |||
192 | #endif | ||
193 | |||
194 | static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, | 186 | static struct dentry *ubifs_lookup(struct inode *dir, struct dentry *dentry, |
195 | struct nameidata *nd) | 187 | struct nameidata *nd) |
196 | { | 188 | { |
@@ -1187,12 +1179,10 @@ const struct inode_operations ubifs_dir_inode_operations = { | |||
1187 | .rename = ubifs_rename, | 1179 | .rename = ubifs_rename, |
1188 | .setattr = ubifs_setattr, | 1180 | .setattr = ubifs_setattr, |
1189 | .getattr = ubifs_getattr, | 1181 | .getattr = ubifs_getattr, |
1190 | #ifdef CONFIG_UBIFS_FS_XATTR | ||
1191 | .setxattr = ubifs_setxattr, | 1182 | .setxattr = ubifs_setxattr, |
1192 | .getxattr = ubifs_getxattr, | 1183 | .getxattr = ubifs_getxattr, |
1193 | .listxattr = ubifs_listxattr, | 1184 | .listxattr = ubifs_listxattr, |
1194 | .removexattr = ubifs_removexattr, | 1185 | .removexattr = ubifs_removexattr, |
1195 | #endif | ||
1196 | }; | 1186 | }; |
1197 | 1187 | ||
1198 | const struct file_operations ubifs_dir_operations = { | 1188 | const struct file_operations ubifs_dir_operations = { |