Re: 2.5.48 and SCSI ?

From: Gregoire Favre (greg@ulima.unil.ch)
Date: Mon Nov 18 2002 - 16:13:30 EST


Hello,

same result with vanilla with just this devfs patch:

802,804c802,804
< struct timespec atime;
< struct timespec mtime;
< struct timespec ctime;

---
>     time_t atime;
>     time_t mtime;
>     time_t ctime;
2512,2514c2512,2514
<     de->inode.atime = inode->i_atime;
<     de->inode.mtime = inode->i_mtime;
<     de->inode.ctime = inode->i_ctime;
---
>     de->inode.atime = inode->i_atime.tv_sec;
>     de->inode.mtime = inode->i_mtime.tv_sec;
>     de->inode.ctime = inode->i_ctime.tv_sec;
2613,2615c2613,2618
<     inode->i_atime = de->inode.atime;
<     inode->i_mtime = de->inode.mtime;
<     inode->i_ctime = de->inode.ctime;
---
>     inode->i_atime.tv_sec = de->inode.atime;
>     inode->i_mtime.tv_sec = de->inode.mtime;
>     inode->i_ctime.tv_sec = de->inode.ctime;
>     inode->i_atime.tv_nsec = 0;
>     inode->i_mtime.tv_nsec = 0;
>     inode->i_ctime.tv_nsec = 0;

Isn't that the right fix for fs/devfs/base.c ?

Thank you very much,

Grégoire ________________________________________________________________ http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:24 EST