[PATCH] fs/fat endianness annotations
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 24 Dec 2005 19:31:04 +0000 (14:31 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 23:15:34 +0000 (16:15 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fat/inode.c

index 0457380..4613cb2 100644 (file)
@@ -384,7 +384,7 @@ static int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de)
                                      le16_to_cpu(de->cdate)) + secs;
                inode->i_ctime.tv_nsec = csecs * 10000000;
                inode->i_atime.tv_sec =
-                       date_dos2unix(le16_to_cpu(0), le16_to_cpu(de->adate));
+                       date_dos2unix(0, le16_to_cpu(de->adate));
                inode->i_atime.tv_nsec = 0;
        } else
                inode->i_ctime = inode->i_atime = inode->i_mtime;