Fix compile error in fs/cramfs/inode.c in 2.5.66

Fix compile error in fs/cramfs/inode.c in 2.5.66

Post by Bernd Petrovitsc » Fri, 28 Mar 2003 15:30:09



cramfs does not compile without it.

        Bernd

--- fs/cramfs/inode.c-orig      Thu Mar 27 14:17:22 2003

                inode->i_blocks = (cramfs_inode->size - 1) / 512 + 1;
                inode->i_blksize = PAGE_CACHE_SIZE;
                inode->i_gid = cramfs_inode->gid;
-               inode->i_mtime = inode->i_atime = inode->i_ctime = 0;
+               inode->i_mtime.tv_sec = inode->i_mtime.tv_nsec =
+                       inode->i_atime.tv_sec = inode->i_atime.tv_nsec =
+                       inode->i_ctime.tv_sec = inode->i_ctime.tv_nsec = 0;
                inode->i_ino = CRAMINO(cramfs_inode);
                /* inode->i_nlink is left 1 - arguably wrong for directories,
                   but it's the best we can do without reading the directory

--

g.a.m.s gmbh                                  Fax : +43 1 205255-900
Prinz-Eugen-Stra?e 8                    A-1040 Vienna/Austria/Europe
                     LUGA : http://www.luga.at

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Compile error 2.5.66-mm1 (haven't tried with 2.5.66 vanilla)

Hello

Compiling 2.5.66-mm1 gives me the following error

   ld -m elf_i386  -r -o init/built-in.o init/main.o init/version.o
init/mounts.o init/initramfs.o
        ld -m elf_i386  -T arch/i386/vmlinux.lds.s arch/i386/kernel/head.o
arch/i386/kernel/init_task.o   init/built-in.o --start-group
usr/built-in.o  arch/i386/kernel/built-in.o
arch/i386/mm/built-in.o  arch/i386/mach-default/built-in.o
kernel/built-in.o  mm/built-in.o  fs/built-in.o  ipc/built-in.o
security/built-in.o  crypto/built-in.o  lib/lib.a
arch/i386/lib/lib.a  drivers/built-in.o  sound/built-in.o
arch/i386/pci/built-in.o  net/built-in.o --end-group  -o
.tmp_vmlinux1
sound/built-in.o: In function `cs4232_pnp_remove':
sound/built-in.o(.text+0xaf51): undefined reference to `local symbols in
discarded section .exit.text'
make: *** [.tmp_vmlinux1] Error 1

Program versions and config are atached.

Bye
Calin

--
# fortune
fortune: write error on /dev/null - please empty the bit bucket

-----------------------------------------
This email was sent using SquirrelMail.
   "Webmail for nuts!"
http://squirrelmail.org/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Can a SCSI device be powered on after boot?

3. Cramfs compilation errors under 2.5.66.

4. lseek problems

5. [2.5.66] kexec for 2.5.66 available

6. ACPI updates

7. [2.5.66] fix for link-error in i810fb_imageblit

8. problem intalling the jdk13 port

9. compile error with 2.5.66-ac2

10. >=2.5.66 compiling errors on Alpha

11. Kernel compile error with 2.5.66

12. 2.5.66 kernel panic: fs/xfs/pagebuf/page_buf..c

13. [2.5.66] was: Re: How to fix the ptrace flaw without rebooting