]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix
authorTodd Poynor <toddpoynor@google.com>
Fri, 5 Apr 2013 23:38:53 +0000 (16:38 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 12 Apr 2013 16:18:08 +0000 (09:18 -0700)
commita58e3e13f5f8c03a88195c45771b2ef3a7a53f75
treeb7dc667a58b0ab0ba9df4c96384f210eecb89e9c
parentba2ae99cf346c740e64241f77c5d54eca55f0d91
ext4: fixup 64-bit divides in 3.0-stable backport of upstream fix

Replace C division operators with div64_u64 for divides introduced in:
commit 503f4bdcc078e7abee273a85ce322de81b18a224
ext4: use atomic64_t for the per-flexbg free_clusters count

Specific to the 3.0-stable backport of the upstream patch.

Signed-off-by: Todd Poynor <toddpoynor@google.com>
Reviewed-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Christoph Biedl <linux-kernel.bfrz@manchmal.in-ulm.de>
Cc: Lukas Czerner <lczerner@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ext4/ialloc.c