]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: quiet sparse noise about plain integer as NULL pointer
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 18 Oct 2011 15:01:51 +0000 (11:01 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 18 Oct 2011 15:01:51 +0000 (11:01 -0400)
commit0206be4643393ee0a7f688102e4fb1d8f6b6f148
tree907a2b9e6d96b5dc98037568775e04d0c0131dde
parent02540b1aae271a499ca76007598600213362f1ff
ext4: quiet sparse noise about plain integer as NULL pointer

The third parameter to ext4_free_blocks is a struct buffer_head *.  This
parameter should be NULL not 0.

This quiets the sparse noise:

warning: Using plain integer as NULL pointer

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c