diff options
Diffstat (limited to 'fs/ext4/xattr.h')
-rw-r--r-- | fs/ext4/xattr.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index 1be243aab01b..1a71a97e14ad 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h | |||
@@ -190,6 +190,8 @@ extern int ext4_inline_data_fiemap(struct inode *inode, | |||
190 | extern int ext4_try_to_evict_inline_data(handle_t *handle, | 190 | extern int ext4_try_to_evict_inline_data(handle_t *handle, |
191 | struct inode *inode, | 191 | struct inode *inode, |
192 | int needed); | 192 | int needed); |
193 | extern void ext4_inline_data_truncate(struct inode *inode, int *has_inline); | ||
194 | |||
193 | # else /* CONFIG_EXT4_FS_XATTR */ | 195 | # else /* CONFIG_EXT4_FS_XATTR */ |
194 | 196 | ||
195 | static inline int | 197 | static inline int |
@@ -411,6 +413,13 @@ static inline int ext4_inline_data_fiemap(struct inode *inode, | |||
411 | { | 413 | { |
412 | return 0; | 414 | return 0; |
413 | } | 415 | } |
416 | |||
417 | static inline void ext4_inline_data_truncate(struct inode *inode, | ||
418 | int *has_inline) | ||
419 | { | ||
420 | return; | ||
421 | } | ||
422 | |||
414 | # endif /* CONFIG_EXT4_FS_XATTR */ | 423 | # endif /* CONFIG_EXT4_FS_XATTR */ |
415 | 424 | ||
416 | #ifdef CONFIG_EXT4_FS_SECURITY | 425 | #ifdef CONFIG_EXT4_FS_SECURITY |