ext4: don't pass freed handle to ext4_walk_page_buffers
authorTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jan 2014 18:08:03 +0000 (13:08 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 7 Jan 2014 18:08:03 +0000 (13:08 -0500)
commit8c9367fd9bf252b57c6d4f8e1a7f9de809d8b862
treeca8fe69ef574fa50909b7fd5e993b47bdb10c3da
parent09c455aaa8f47a94d5bafaa23d58365768210507
ext4: don't pass freed handle to ext4_walk_page_buffers

This is harmless, since ext4_walk_page_buffers only passes the handle
onto the callback function, and in this call site the function in
question, bput_one(), doesn't actually use the handle.  But there's no
point passing in an invalid handle, and it creates a Coverity warning,
so let's just clean it up.

Addresses-Coverity-Id: #1091168

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/inode.c