diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 4840d4946..6f6997b7f 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,7 @@ +2005-02-08 Roland Illig + + * cpio.c: Added some FIXMEs about data representation. + 2005-02-02 Andrew V. Samoilov * samba/include/proto.h: Adjust for the last changes. diff --git a/vfs/cpio.c b/vfs/cpio.c index 1f998251f..1b3399f90 100644 --- a/vfs/cpio.c +++ b/vfs/cpio.c @@ -84,6 +84,7 @@ struct defer_inode { struct vfs_s_inode *inode; }; +/* FIXME: should be off_t instead of int. */ static int cpio_position; static int cpio_find_head(struct vfs_class *me, struct vfs_s_super *super); @@ -451,6 +452,8 @@ cpio_create_entry (struct vfs_class *me, struct vfs_s_super *super, case S_IFNAM: #endif if ((st->st_size != 0) && (st->st_rdev == 0x0001)) { + /* FIXME: representation of major/minor differs between */ + /* different operating systems. */ st->st_rdev = (unsigned) st->st_size; st->st_size = 0; }