aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/xattr.h
diff options
context:
space:
mode:
authorTao Ma <boyu.mt@taobao.com>2012-12-10 14:06:00 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-12-10 14:06:00 -0500
commit9f40fe54635b7533f51993d0f5e7f014fc14d33a (patch)
tree4fba9eb2fbf97ee21cfecba4746c439e51794030 /fs/ext4/xattr.h
parent05019a9e7f025133f20c67677c9c8551eca3c6dc (diff)
ext4: let ext4_delete_entry() handle inline data
Signed-off-by: Tao Ma <boyu.mt@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr.h')
-rw-r--r--fs/ext4/xattr.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h
index c6f3dea88d6f..f86e424d75e4 100644
--- a/fs/ext4/xattr.h
+++ b/fs/ext4/xattr.h
@@ -175,6 +175,11 @@ extern struct buffer_head *ext4_find_inline_entry(struct inode *dir,
175 const struct qstr *d_name, 175 const struct qstr *d_name,
176 struct ext4_dir_entry_2 **res_dir, 176 struct ext4_dir_entry_2 **res_dir,
177 int *has_inline_data); 177 int *has_inline_data);
178extern int ext4_delete_inline_entry(handle_t *handle,
179 struct inode *dir,
180 struct ext4_dir_entry_2 *de_del,
181 struct buffer_head *bh,
182 int *has_inline_data);
178# else /* CONFIG_EXT4_FS_XATTR */ 183# else /* CONFIG_EXT4_FS_XATTR */
179 184
180static inline int 185static inline int
@@ -368,6 +373,14 @@ ext4_find_inline_entry(struct inode *dir,
368{ 373{
369 return NULL; 374 return NULL;
370} 375}
376static inline int ext4_delete_inline_entry(handle_t *handle,
377 struct inode *dir,
378 struct ext4_dir_entry_2 *de_del,
379 struct buffer_head *bh,
380 int *has_inline_data)
381{
382 return 0;
383}
371# endif /* CONFIG_EXT4_FS_XATTR */ 384# endif /* CONFIG_EXT4_FS_XATTR */
372 385
373#ifdef CONFIG_EXT4_FS_SECURITY 386#ifdef CONFIG_EXT4_FS_SECURITY