git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[XFS] fix 32-bit compat ioctls for GETXFLAGS, SETXFLAGS, GETVERSION
[sfrench/cifs-2.6.git]
/
fs
/
xfs
/
xfs_dir2_leaf.c
diff --git
a/fs/xfs/xfs_dir2_leaf.c
b/fs/xfs/xfs_dir2_leaf.c
index e7c12fa1303ee06c2d2837e781083b61cd0f7944..0ca0020ba09f0cd6c927d45d786712d80a87c2a1 100644
(file)
--- a/
fs/xfs/xfs_dir2_leaf.c
+++ b/
fs/xfs/xfs_dir2_leaf.c
@@
-1091,7
+1091,7
@@
xfs_dir2_leaf_getdents(
* Won't fit. Return to caller.
*/
if (filldir(dirent, dep->name, dep->namelen,
- xfs_dir2_byte_to_dataptr(mp, curoff
+ length
),
+ xfs_dir2_byte_to_dataptr(mp, curoff),
ino, DT_UNKNOWN))
break;