]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ext4: Convert to host order before using the values.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Sun, 16 Nov 2008 16:05:36 +0000 (11:05 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 5 Dec 2008 18:55:42 +0000 (10:55 -0800)
commitabed0115847f4dc747a761857506b03b89550a3e
treeb15f583b0d7547503b8cd5b81020eca8f73f2b20
parent1543f0eea45ecdf2179fe8bbbe34a732ead13f0a
ext4: Convert to host order before using the values.

(cherry picked from commit d94e99a64c3beece22dbfb2b335771a59184eb0a)

Use le16_to_cpu to read the s_reserved_gdt_blocks values
from super block.

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/ext4/super.c