Commit 31b1f85b authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] fs/fat endianness annotations

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent a9721f31
...@@ -384,7 +384,7 @@ static int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de) ...@@ -384,7 +384,7 @@ static int fat_fill_inode(struct inode *inode, struct msdos_dir_entry *de)
le16_to_cpu(de->cdate)) + secs; le16_to_cpu(de->cdate)) + secs;
inode->i_ctime.tv_nsec = csecs * 10000000; inode->i_ctime.tv_nsec = csecs * 10000000;
inode->i_atime.tv_sec = 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; inode->i_atime.tv_nsec = 0;
} else } else
inode->i_ctime = inode->i_atime = inode->i_mtime; inode->i_ctime = inode->i_atime = inode->i_mtime;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment