[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140314024413.GB8282@thunk.org>
Date: Thu, 13 Mar 2014 22:44:13 -0400
From: Theodore Ts'o <tytso@....edu>
To: jon ernst <jonernst07@...il.com>
Cc: "linux-ext4@...r.kernel.org List" <linux-ext4@...r.kernel.org>
Subject: Re: [PATCH v3 10/30] libext2fs: define new dirent_swab interfaces
for inline data
On Thu, Mar 13, 2014 at 12:32:34PM -0400, jon ernst wrote:
> errcode_t ext2fs_dirent_swab_in(ext2_filsys fs, char *buf, int flags)
> {
> + return ext2fs_dirent_swab_in(fs, buf, fs->blocksize, flags);
> +}
>
> I guess it misses "2" for function name.
> Should be:
>
> errcode_t ext2fs_dirent_swab_in(ext2_filsys fs, char *buf, int flags)
> {
> + return ext2fs_dirent_swab_in2(fs, buf, fs->blocksize, flags);
> +}
Nice catch, thanks!!
- Ted
>From f9574ad0ba655b436b3940ff1604df4d11a43115 Mon Sep 17 00:00:00 2001
From: Theodore Ts'o <tytso@....edu>
Date: Thu, 13 Mar 2014 13:40:37 -0400
Subject: [PATCH] libext2fs: fix build failure on big endian systems
Fix a typo that we didn't notice because all the world's an x86. :-)
Reported-by: jon ernst <jonernst07@...il.com>
Signed-off-by: "Theodore Ts'o" <tytso@....edu>
---
lib/ext2fs/swapfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/ext2fs/swapfs.c b/lib/ext2fs/swapfs.c
index e3628b3..f08859b 100644
--- a/lib/ext2fs/swapfs.c
+++ b/lib/ext2fs/swapfs.c
@@ -363,7 +363,7 @@ void ext2fs_swap_mmp(struct mmp_struct *mmp)
errcode_t ext2fs_dirent_swab_in(ext2_filsys fs, char *buf, int flags)
{
- return ext2fs_dirent_swab_in(fs, buf, fs->blocksize, flags);
+ return ext2fs_dirent_swab_in2(fs, buf, fs->blocksize, flags);
}
errcode_t ext2fs_dirent_swab_in2(ext2_filsys fs, char *buf,
--
1.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists