diff options
author | Tao Ma <boyu.mt@taobao.com> | 2012-12-10 23:05:57 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2012-12-10 23:05:57 +0400 |
commit | 3fdcfb668fd78ec92d9bc2daddf1d41e2a8a30bb (patch) | |
tree | 7f6a45d4815824132c0d70906e04a937a2a222bf /fs/ext4/xattr.h | |
parent | f19d5870cbf72d4cb2a8e1f749dff97af99b071e (diff) | |
download | linux-3fdcfb668fd78ec92d9bc2daddf1d41e2a8a30bb.tar.xz |
ext4: add journalled write support for 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.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/ext4/xattr.h b/fs/ext4/xattr.h index db5672206238..7095ac13fbc2 100644 --- a/fs/ext4/xattr.h +++ b/fs/ext4/xattr.h @@ -150,6 +150,10 @@ extern int ext4_write_inline_data_end(struct inode *inode, loff_t pos, unsigned len, unsigned copied, struct page *page); +extern struct buffer_head * +ext4_journalled_write_inline_data(struct inode *inode, + unsigned len, + struct page *page); # else /* CONFIG_EXT4_FS_XATTR */ static inline int @@ -288,6 +292,14 @@ static inline int ext4_write_inline_data_end(struct inode *inode, { return 0; } + +static inline struct buffer_head * +ext4_journalled_write_inline_data(struct inode *inode, + unsigned len, + struct page *page) +{ + return NULL; +} # endif /* CONFIG_EXT4_FS_XATTR */ #ifdef CONFIG_EXT4_FS_SECURITY |