2003-03-21 19:50:22

by Ren

[permalink] [raw]
Subject: [PATCH] Typo in isofs/inode.c

Hi,

this patch fixes a trivial error in isofs/inode.c, and reformats
the surrounding code a bit to (hopefully) enhance clarity.

Ren?


--- linux-2.5.65/fs/isofs/inode.c~ 2003-01-17 13:54:01.000000000 +0100
+++ linux-2.5.65/fs/isofs/inode.c 2003-03-21 20:05:57.000000000 +0100
@@ -1279,11 +1279,12 @@
}
#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));