[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 045738032a83d5f4579208881d17088a65326e5a..4613cb2021700c5a4bb23c01e038ff9baa6c9b50 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;