ext4: rename ext4_has_free_blocks() to ext4_has_free_clusters()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 23:16:51 +0000 (19:16 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 23:16:51 +0000 (19:16 -0400)
commitdf55c99dc8ee4c3c886a5edc8a4aa6b131c95afc
tree6e5ea5a435659fa2dee7410f0b0196bdaf3a2054
parente7d5f3156e6827970f75ab27ad7eb0155826eb0b
ext4: rename ext4_has_free_blocks() to ext4_has_free_clusters()

Rename the function so it is more clear what is going on.  Also rename
the various variables so it's clearer what's happening.

Also fix a missing blocks to cluster conversion when reading the
number of reserved blocks for root.

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