2.6.13-rc6-git3 undefined reference on _mntput
grep _mntput *namei.c: _mntput(nd->mnt);
namespace.c:void __mntput(struct vfsmount *mnt)
namespace.c:EXPORT_SYMBOL(__mntput);
CC fs/namei.ofs/namei.c: In function `path_release_on_umount':fs/namei.c:317: warning: implicit declaration of function `_mntput'
....
LD .tmp_vmlinux1fs/built-in.o: In function `path_release_on_umount':
: undefined reference to `_mntput'
make: *** [.tmp_vmlinux1] Error 1
seems an underscore is missing.
Hetfield napsal(a):
Quoted 13 lines
grep
_mntput*namei.c:_mntput(nd->mnt);
namespace.c:void__mntput(struct vfsmount *mnt)
namespace.c:EXPORT_SYMBOL(__mntput);CC
fs/namei.ofs/namei.c: In function `path_release_on_umount':fs/namei.c:317: warning: implicit declaration of function `_mntput'....
Quoted 7 lines
LD .tmp_vmlinux1
fs/built-in.o: In function `path_release_on_umount':
: undefined reference to `_mntput'
make: *** [.tmp_vmlinux1] Error 1seems an underscore is missing.
It seems, that there is one extra.
Hetfield napsal(a):
Quoted 9 lines
grep
_mntput*namei.c:_mntput(nd->mnt);
namespace.c:void__mntput(struct vfsmount *mnt)
namespace.c:EXPORT_SYMBOL(__mntput);CC
fs/namei.ofs/namei.c: In function `path_release_on_umount':fs/namei.c:317: warning: implicit declaration of function `_mntput'
In 2.6.13-rc6-git3 there is nothing like that (nor on that line) and compiles for me. Maybe you mispatched it, because in namei.c in that git there is mntput_no_expire(nd->mnt);, not _mntput.
regards,
Signature · 3 lines
Jiri Slaby www.fi.muni.cz/~xslaby ~\-/~ [email protected] ~\-/~ 241B347EC88228DE51EE A49C4A73A25004CB2A10