summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/journal.h
diff options
context:
space:
mode:
authorGoldwyn Rodrigues2013-11-13 00:06:52 +0100
committerLinus Torvalds2013-11-13 04:09:00 +0100
commit06f9da6e826a0b459652b98a21541bca274bd440 (patch)
tree6fe8423a67c3c50e664b43ea0d772b09e63e5849 /fs/ocfs2/journal.h
parentscripts/sortextable: support objects with more than 64K sections. (diff)
downloadkernel-qcow2-linux-06f9da6e826a0b459652b98a21541bca274bd440.tar.gz
kernel-qcow2-linux-06f9da6e826a0b459652b98a21541bca274bd440.tar.xz
kernel-qcow2-linux-06f9da6e826a0b459652b98a21541bca274bd440.zip
fs/ocfs2: remove unnecessary variable bits_wanted from ocfs2_calc_extend_credits
Code cleanup to remove unnecessary variable passed but never used to ocfs2_calc_extend_credits. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Cc: Joel Becker <jlbec@evilplan.org> Cc: Mark Fasheh <mfasheh@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/journal.h')
-rw-r--r--fs/ocfs2/journal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ocfs2/journal.h b/fs/ocfs2/journal.h
index 0b479bab3671..9ff4e8cf9d97 100644
--- a/fs/ocfs2/journal.h
+++ b/fs/ocfs2/journal.h
@@ -524,8 +524,7 @@ static inline int ocfs2_calc_dxi_expand_credits(struct super_block *sb)
* the result may be wrong.
*/
static inline int ocfs2_calc_extend_credits(struct super_block *sb,
- struct ocfs2_extent_list *root_el,
- u32 bits_wanted)
+ struct ocfs2_extent_list *root_el)
{
int bitmap_blocks, sysfile_bitmap_blocks, extent_blocks;