@@ -261,9 +261,10 @@ ext4_xattr_ibody_set(handle_t *handle, struct inode *inode,
return -EOPNOTSUPP;
}
-extern int ext4_xattr_ibody_get(struct inode *inode, int name_index,
- const char *name,
- void *buffer, size_t buffer_size)
+static inline int
+ext4_xattr_ibody_get(struct inode *inode, int name_index,
+ const char *name,
+ void *buffer, size_t buffer_size)
{
return -EOPNOTSUPP;
}
@@ -377,13 +378,15 @@ static inline int ext4_read_inline_dir(struct file *filp,
return 0;
}
-struct buffer_head *ext4_find_inline_entry(struct inode *dir,
- const struct qstr *d_name,
- struct ext4_dir_entry_2 **res_dir,
- int *has_inline_data)
+static inline struct buffer_head *
+ext4_find_inline_entry(struct inode *dir,
+ const struct qstr *d_name,
+ struct ext4_dir_entry_2 **res_dir,
+ int *has_inline_data)
{
return NULL;
}
+
static inline int ext4_delete_inline_entry(handle_t *handle,
struct inode *dir,
struct ext4_dir_entry_2 *de_del,
@@ -419,7 +422,7 @@ static inline void ext4_inline_data_truncate(struct inode *inode,
return;
}
-static int ext4_convert_inline_data(struct inode *inode)
+static inline int ext4_convert_inline_data(struct inode *inode)
{
return 0;
}