]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - fs/ext4/inode.c
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)
commitc27e43a10c9755231f8a1c618efc1ac299dd5007
tree22df231821a2472ce1352faa34f19f3075e538a9
parent292db1bc6c105d86111e858859456bcb11f90f91
ext4: minor cleanup of ext4_da_reserve_space()

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