aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/inline.c')
-rw-r--r--fs/ext4/inline.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/inline.c b/fs/ext4/inline.c
index 82edf5b93352..33dd704d16bd 100644
--- a/fs/ext4/inline.c
+++ b/fs/ext4/inline.c
@@ -22,7 +22,7 @@
22#define EXT4_INLINE_DOTDOT_OFFSET 2 22#define EXT4_INLINE_DOTDOT_OFFSET 2
23#define EXT4_INLINE_DOTDOT_SIZE 4 23#define EXT4_INLINE_DOTDOT_SIZE 4
24 24
25int ext4_get_inline_size(struct inode *inode) 25static int ext4_get_inline_size(struct inode *inode)
26{ 26{
27 if (EXT4_I(inode)->i_inline_off) 27 if (EXT4_I(inode)->i_inline_off)
28 return EXT4_I(inode)->i_inline_size; 28 return EXT4_I(inode)->i_inline_size;
@@ -211,8 +211,8 @@ out:
211 * value since it is already handled by ext4_xattr_ibody_inline_set. 211 * value since it is already handled by ext4_xattr_ibody_inline_set.
212 * That saves us one memcpy. 212 * That saves us one memcpy.
213 */ 213 */
214void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc, 214static void ext4_write_inline_data(struct inode *inode, struct ext4_iloc *iloc,
215 void *buffer, loff_t pos, unsigned int len) 215 void *buffer, loff_t pos, unsigned int len)
216{ 216{
217 struct ext4_xattr_entry *entry; 217 struct ext4_xattr_entry *entry;
218 struct ext4_xattr_ibody_header *header; 218 struct ext4_xattr_ibody_header *header;
@@ -373,8 +373,8 @@ out:
373 return error; 373 return error;
374} 374}
375 375
376int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, 376static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode,
377 unsigned int len) 377 unsigned int len)
378{ 378{
379 int ret, size; 379 int ret, size;
380 struct ext4_inode_info *ei = EXT4_I(inode); 380 struct ext4_inode_info *ei = EXT4_I(inode);