diff options
author | Paulo Alcantara <pcacjr@zytor.com> | 2013-01-22 01:19:36 -0200 |
---|---|---|
committer | Paulo Alcantara <pcacjr@zytor.com> | 2013-01-22 01:19:36 -0200 |
commit | ee50a6f37b19e7682a77a740392bcafb70250bad (patch) | |
tree | 8adacb8d4ccb37d0f65a1067be41e1130028001b | |
parent | 90f5f81712b93a73b55a6baf7223e100753da73c (diff) | |
download | syslinux-ee50a6f37b19e7682a77a740392bcafb70250bad.tar.gz syslinux-ee50a6f37b19e7682a77a740392bcafb70250bad.tar.xz syslinux-ee50a6f37b19e7682a77a740392bcafb70250bad.zip |
xfs: Fix bug when listing shortform directory entries
The xfs_fmt_local_readdir() function should call xfs_readdir_dir2_local()
instead.
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r-- | core/fs/xfs/xfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/fs/xfs/xfs.c b/core/fs/xfs/xfs.c index 712888c3..4d60c08b 100644 --- a/core/fs/xfs/xfs.c +++ b/core/fs/xfs/xfs.c @@ -38,9 +38,10 @@ #include "xfs_readdir.h" static inline int xfs_fmt_local_readdir(struct file *file, - struct dirent *dirent, xfs_dinode_t *core) + struct dirent *dirent, + xfs_dinode_t *core) { - return xfs_readdir_dir2_block(file, dirent, core); + return xfs_readdir_dir2_local(file, dirent, core); } static inline int xfs_fmt_extents_readdir(struct file *file, |