projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9721f3
)
[PATCH] fs/fat endianness annotations
author
Al Viro
<viro@ftp.linux.org.uk>
Sat, 24 Dec 2005 19:31:04 +0000
(14:31 -0500)
committer
Linus 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
patch
|
blob
|
history
diff --git
a/fs/fat/inode.c
b/fs/fat/inode.c
index
0457380
..
4613cb2
100644
(file)
--- a/
fs/fat/inode.c
+++ b/
fs/fat/inode.c
@@
-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;