diff options
author | Amir Goldstein <amir73il@gmail.com> | 2011-03-21 05:57:02 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-03-21 05:57:02 +0300 |
commit | 537a03103c67c4688b1e8e6671ad119aec5e2efb (patch) | |
tree | 8d5df9bfe1e027395455374cd076b5997d3b488d /fs/ext4/xattr.c | |
parent | ef6078930263bfcdcfe4dddb2cd85254b4cf4f5c (diff) | |
download | linux-537a03103c67c4688b1e8e6671ad119aec5e2efb.tar.xz |
ext4: unify the ext4_handle_release_buffer() api
There are two wrapper functions which do exactly the same thing:
ext4_journal_release_buffer(), and ext4_handle_release_buffer(). In
addition, ext4_xattr_block_set() calls jbd2_journal_release_buffer()
directly.
Unify all of the code to use ext4_handle_release_buffer(), and get rid
of ext4_journal_release_buffer().
Signed-off-by: Amir Goldstein <amir73il@users.sf.net>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/xattr.c')
-rw-r--r-- | fs/ext4/xattr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/xattr.c b/fs/ext4/xattr.c index f4c03af05d69..b545ca1c459c 100644 --- a/fs/ext4/xattr.c +++ b/fs/ext4/xattr.c @@ -735,7 +735,7 @@ ext4_xattr_block_set(handle_t *handle, struct inode *inode, int offset = (char *)s->here - bs->bh->b_data; unlock_buffer(bs->bh); - jbd2_journal_release_buffer(handle, bs->bh); + ext4_handle_release_buffer(handle, bs->bh); if (ce) { mb_cache_entry_release(ce); ce = NULL; |