git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] fs/qnx4/*: fix sparse warnings
[pandora-kernel.git]
/
fs
/
qnx4
/
dir.c
diff --git
a/fs/qnx4/dir.c
b/fs/qnx4/dir.c
index
cd66147
..
7a8f559
100644
(file)
--- a/
fs/qnx4/dir.c
+++ b/
fs/qnx4/dir.c
@@
-61,7
+61,7
@@
static int qnx4_readdir(struct file *filp, void *dirent, filldir_t filldir)
ino = blknum * QNX4_INODES_PER_BLOCK + ix - 1;
else {
le = (struct qnx4_link_info*)de;
- ino = ( le
->dl_inode_blk
- 1 ) *
+ ino = ( le
32_to_cpu(le->dl_inode_blk)
- 1 ) *
QNX4_INODES_PER_BLOCK +
le->dl_inode_ndx;
}