summaryrefslogtreecommitdiff
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-01-23 03:35:49 +0300
committerTheodore Ts'o <tytso@mit.edu>2017-01-23 03:35:49 +0300
commit01daf9452569fe2e69e27fe3e617b43d2ebb1e93 (patch)
tree8cdb4fcbb9c1f091fcc55c8a7b6d162dd2abae11 /fs/ext4/ext4.h
parentb907f2d5194c2636623415d89cfb91d692af0629 (diff)
downloadlinux-01daf9452569fe2e69e27fe3e617b43d2ebb1e93.tar.xz
ext4: propagate error values from ext4_inline_data_truncate()
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index 6bcb9622fdf9..1cd077e02517 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -3023,7 +3023,7 @@ extern int ext4_inline_data_fiemap(struct inode *inode,
extern int ext4_try_to_evict_inline_data(handle_t *handle,
struct inode *inode,
int needed);
-extern void ext4_inline_data_truncate(struct inode *inode, int *has_inline);
+extern int ext4_inline_data_truncate(struct inode *inode, int *has_inline);
extern int ext4_convert_inline_data(struct inode *inode);