Newbie Question -- error: implicit declaration of function 'iget'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I am a newbie on Linux file systems. I am currently learning Linux file
systems with Steve French's "Linux File Systems in 21 Days". The URL for
his tutorials is:

http://svn.samba.org/samba/ftp/cifs-cvs/samplefs.tar.gz
http://svn.samba.org/samba/ftp/cifs-cvs/ols2007-fs-tutorial-smf.odp

I have finished the day1 example, and get stuck at the day2 example.
When compiling the day2 example, I get the following error message:

qyjohn@qyjohn-laptop:/usr/src/linux-source-2.6.27$ sudo make
M=~/samplefs/day2
[sudo] password for qyjohn:
CC [M] /home/qyjohn/samplefs/day2/super.o
/home/qyjohn/samplefs/day2/super.c: In function 'samplefs_fill_super':
/home/qyjohn/samplefs/day2/super.c:112: error: implicit declaration of
function 'iget'
/home/qyjohn/samplefs/day2/super.c:112: warning: assignment makes
pointer from integer without a cast
make[1]: *** [/home/qyjohn/samplefs/day2/super.o] Error 1
make: *** [_module_/home/qyjohn/samplefs/day2] Error 2

I looked at linux/fs.h, and found that the declaration of the __iget()
function is different from what is being used in super.c.

I am using Ubuntu 8.10 with kernel version 2.6.27.2.

Can anyone shed some light on this newbie?

Thanks a lot.

John
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux