diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2017-03-20 15:35:27 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-03-30 08:23:19 +0200 |
commit | f161962610146e9daebde87e10690db87a497b6b (patch) | |
tree | fee8524614a738924378db506d8ba06decbcf941 /fs/ext4/ext4fs.c | |
parent | 9eb629c854175cbec5cff4a5a573f31744272754 (diff) | |
download | barebox-f161962610146e9daebde87e10690db87a497b6b.tar.gz barebox-f161962610146e9daebde87e10690db87a497b6b.tar.xz |
ext4: use kernel names for byte swaps
This is an adoption of the U-Boot commit
| commit 7f101be314da1f6f612a1b84822f791d6569946b
| Author: Michael Walle <michael@walle.cc>
| Date: Mon Aug 29 10:46:44 2016 +0200
|
| ext4: use kernel names for byte swaps
|
| Instead of __{be,le}{16,32}_to_cpu use {be,le}{16,32}_to_cpu.
|
| Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/ext4/ext4fs.c')
-rw-r--r-- | fs/ext4/ext4fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4fs.c b/fs/ext4/ext4fs.c index 1b9af80f80..bfc5f27cc3 100644 --- a/fs/ext4/ext4fs.c +++ b/fs/ext4/ext4fs.c @@ -54,7 +54,7 @@ int ext4fs_read_file(struct ext2fs_node *node, int pos, int blockcnt; int log2blocksize = LOG2_EXT2_BLOCK_SIZE(node->data); int blocksize = 1 << (log2blocksize + DISK_SECTOR_BITS); - unsigned int filesize = __le32_to_cpu(node->inode.size); + unsigned int filesize = le32_to_cpu(node->inode.size); int previous_block_number = -1; int delayed_start = 0; int delayed_extent = 0; |