aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorCurt Wohlgemuth <curtw@google.com>2012-02-20 17:53:03 -0500
committerTheodore Ts'o <tytso@mit.edu>2012-02-20 17:53:03 -0500
commit1592d2c5574edadb0871cc4ac84265bdd18b2d68 (patch)
tree13f429d2f84f3d5f3f8504d750b0c4a05cf23924 /fs/ext4/mballoc.c
parent9c0e00e5ce0d23e3e0a93f99ae8e94398e32a2d2 (diff)
ext4: mark possibly unused variable in ext4_mb_normalize_request()
The 'orig_size' local variable is only used in a call to mb_debug(). Mark it with '__maybe_unused'. Signed-off-by: Curt Wohlgemuth <curtw@google.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 2e467718d413..8e01214a4421 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2858,7 +2858,8 @@ ext4_mb_normalize_request(struct ext4_allocation_context *ac,
2858 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb); 2858 struct ext4_sb_info *sbi = EXT4_SB(ac->ac_sb);
2859 int bsbits, max; 2859 int bsbits, max;
2860 ext4_lblk_t end; 2860 ext4_lblk_t end;
2861 loff_t size, orig_size, start_off; 2861 loff_t size, start_off;
2862 loff_t orig_size __maybe_unused;
2862 ext4_lblk_t start; 2863 ext4_lblk_t start;
2863 struct ext4_inode_info *ei = EXT4_I(ac->ac_inode); 2864 struct ext4_inode_info *ei = EXT4_I(ac->ac_inode);
2864 struct ext4_prealloc_space *pa; 2865 struct ext4_prealloc_space *pa;