diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-10-14 11:57:55 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-06-30 16:53:16 +0200 |
commit | e71c34366808bbe3ce0b166d8710749513af6d81 (patch) | |
tree | f31327dd33e5b8024bac037d50ad82fffb8f61d1 /fs/cramfs | |
parent | 1a5503118a95a0080ed93b07a996282cc54ce595 (diff) | |
download | barebox-e71c34366808bbe3ce0b166d8710749513af6d81.tar.gz barebox-e71c34366808bbe3ce0b166d8710749513af6d81.tar.xz |
mtd: fix arguments to bad block ioctls
In the Kernel the mtd ioctls expect a pointer to the offset, whereas
barebox interprets the pointer itself as an offset. Since we want
to add 64bit support for file sizes a pointer may not be sufficient,
so align with the kernel and convert it to a pointer to the offset.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs/cramfs')
0 files changed, 0 insertions, 0 deletions