ext4: minor cleanup of ext4_da_reserve_space()
authorEric Whitney <enwlinux@gmail.com>
Mon, 22 Jun 2015 01:37:05 +0000 (21:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 22 Jun 2015 01:37:05 +0000 (21:37 -0400)
Remove outdated comments and dead code from ext4_da_reserve_space.
Clean up its trace point, and relocate it to make it more useful.

While we're at it, fix a nearby conditional used to determine if
we have a non-bigalloc file system.  It doesn't match usage elsewhere
in the code, and misleadingly suggests that an s_cluster_ratio value
of 0 would be legal.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c
include/trace/events/ext4.h

diff --cc fs/ext4/inode.c
Simple merge
Simple merge