diff options
author | Theodore Ts'o <tytso@mit.edu> | 2009-11-22 20:52:12 -0500 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2009-11-22 20:52:12 -0500 |
commit | d6797d14b1640d088652c72508b529a3aea479e3 (patch) | |
tree | 2e608c3e362b94439a2e7503b7d97cb3891bb101 /fs/ext4/ext4.h | |
parent | e3bb52ae2bb9573e84c17b8e3560378d13a5c798 (diff) |
ext4: move ext4_forget() to ext4_jbd2.c
The ext4_forget() function better belongs in ext4_jbd2.c. This will
allow us to do some cleanup of the ext4_journal_revoke() and
ext4_journal_forget() functions, as well as giving us better error
reporting since we can report the caller of ext4_forget() when things
go wrong.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r-- | fs/ext4/ext4.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h index 05ce38b981cb..57c4e03afa0a 100644 --- a/fs/ext4/ext4.h +++ b/fs/ext4/ext4.h | |||
@@ -1393,8 +1393,6 @@ extern int ext4_mb_get_buddy_cache_lock(struct super_block *, ext4_group_t); | |||
1393 | extern void ext4_mb_put_buddy_cache_lock(struct super_block *, | 1393 | extern void ext4_mb_put_buddy_cache_lock(struct super_block *, |
1394 | ext4_group_t, int); | 1394 | ext4_group_t, int); |
1395 | /* inode.c */ | 1395 | /* inode.c */ |
1396 | int ext4_forget(handle_t *handle, int is_metadata, struct inode *inode, | ||
1397 | struct buffer_head *bh, ext4_fsblk_t blocknr); | ||
1398 | struct buffer_head *ext4_getblk(handle_t *, struct inode *, | 1396 | struct buffer_head *ext4_getblk(handle_t *, struct inode *, |
1399 | ext4_lblk_t, int, int *); | 1397 | ext4_lblk_t, int, int *); |
1400 | struct buffer_head *ext4_bread(handle_t *, struct inode *, | 1398 | struct buffer_head *ext4_bread(handle_t *, struct inode *, |