lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 13 Jun 2013 09:48:18 -0400
From:	Paul Gortmaker <>
To:	"Theodore Ts'o" <>
CC:	<>,
	Paul Gortmaker <>
Subject: [PATCH] ext4: delete unused mapping variable

The code refactoring in commit "ext4: refactor punch hole code"
left behind a now unused variable, causing:

fs/ext4/inode.c: In function ‘ext4_punch_hole’:
fs/ext4/inode.c:3495:24: warning: unused variable ‘mapping’ [-Wunused-variable]

Signed-off-by: Paul Gortmaker <>

[Feel free to also fold this trivial change back into the original
punch hole commit on the dev branch]

 fs/ext4/inode.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 4411130..2644679 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3492,7 +3492,6 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
 	struct inode *inode = file_inode(file);
 	struct super_block *sb = inode->i_sb;
 	ext4_lblk_t first_block, stop_block;
-	struct address_space *mapping = inode->i_mapping;
 	loff_t first_block_offset, last_block_offset;
 	handle_t *handle;
 	unsigned int credits;

To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists