Mercurial > flash_v2
changeset 1222:f0bd64ec9405
Another inode fix - from Thomas Koeller
| author | gthomas |
|---|---|
| date | Fri, 19 Sep 2003 00:21:46 +0000 |
| parents | 219ba4658ed2 |
| children | dbcfe4e0dbd2 |
| files | packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/src/fs-ecos.c |
| diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog +++ b/packages/fs/jffs2/current/ChangeLog @@ -1,3 +1,7 @@ +2003-09-19 Thomas Koeller <thomas.koeller@baslerweb.com> + + * src/fs-ecos.c: Another inode number fix. + 2003-09-18 Thomas Koeller <thomas.koeller@baslerweb.com> * src/fs-ecos.c: Inode number returned by stat() was bogus.
--- a/packages/fs/jffs2/current/src/fs-ecos.c +++ b/packages/fs/jffs2/current/src/fs-ecos.c @@ -1460,7 +1460,7 @@ static int jffs2_fo_fstat(struct CYG_FIL // Fill in the status buf->st_mode = node->i_mode; - buf->st_ino = (ino_t) node; + buf->st_ino = node->i_ino; buf->st_dev = 0; buf->st_nlink = node->i_nlink; buf->st_uid = 0;
