Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2003-05-26 03:00:57 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-26 03:00:57 -0700
commit04deb1ab1faf94a6178ec6883ea64af71085247a (patch)
tree3e3ab88a005756446444fda04c3c9317de7a4a08
parent8ac24680f7a91ed65e7c3fdd64ae1ba534d57b05 (diff)
[PATCH] Typo in isofs_inode.c
From: René Scharfe <l.s.r@web.de> this fixes a trivial error in isofs/inode.c, and reformats the surrounding code a bit to (hopefully) enhance clarity. i_mtime.tv_nsec was initialized twice, and i_ctime.tv_nsec never
-rw-r--r--fs/isofs/inode.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c
index b252fc2e3623..5e21abe15531 100644
--- a/fs/isofs/inode.c
+++ b/fs/isofs/inode.c
@@ -1279,11 +1279,12 @@ static void isofs_read_inode(struct inode * inode)
}
#endif
- inode->i_mtime.tv_sec = inode->i_atime.tv_sec = inode->i_ctime.tv_sec =
- iso_date(de->date, high_sierra);
- inode->i_mtime.tv_nsec = 0;
- inode->i_atime.tv_nsec = 0;
- inode->i_mtime.tv_nsec = 0;
+ inode->i_mtime.tv_sec =
+ inode->i_atime.tv_sec =
+ inode->i_ctime.tv_sec = iso_date(de->date, high_sierra);
+ inode->i_mtime.tv_nsec =
+ inode->i_atime.tv_nsec =
+ inode->i_ctime.tv_nsec = 0;
ei->i_first_extent = (isonum_733 (de->extent) +
isonum_711 (de->ext_attr_length));