]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ext4: allow a NULL argument to ext4_ext_drop_refs()
authorTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:39:09 +0000 (14:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 1 Sep 2014 18:39:09 +0000 (14:39 -0400)
commitb7ea89ad0a6b855172158a999d3f5008403f4011
treef5e4df616627e426bdebef94042c286fbdff0360
parent523f431ccfffd3022e80e13befb9594f54b5607e
ext4: allow a NULL argument to ext4_ext_drop_refs()

Teach ext4_ext_drop_refs() to accept a NULL argument, much like
kfree().  This allows us to drop a lot of checks to make sure path is
non-NULL before calling ext4_ext_drop_refs().

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/extents.c
fs/ext4/extents_status.c
fs/ext4/migrate.c
fs/ext4/move_extent.c