linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Newbie Question --  error: implicit declaration of function 'iget'
@ 2008-11-27  4:03 Qingye Jiang (John)
  2008-11-27 12:18 ` Matthew Wilcox
  0 siblings, 1 reply; 2+ messages in thread
From: Qingye Jiang (John) @ 2008-11-27  4:03 UTC (permalink / raw)
  To: linux-fsdevel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-27 12:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-27  4:03 Newbie Question -- error: implicit declaration of function 'iget' Qingye Jiang (John)
2008-11-27 12:18 ` Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).