mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sean Neakums <sneakums@zork.net>
To: "Sathyanarayana.A.N - 01cs6002" <san@cse.iitkgp.dhs.org>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: insmod
Date: Sat, 23 Nov 2002 19:25:44 +0000	[thread overview]
Message-ID: <6ulm3krsuf.fsf@zork.zork.net> (raw)
In-Reply-To: <Pine.LNX.4.33L2.0211240020330.16811-100000@pcs-2.cse.iitkgp.ernet.in> ("Sathyanarayana.A.N - 01cs6002"'s message of "Sun, 24 Nov 2002 00:27:27 +0530 (IST)")

commence  Sathyanarayana.A.N - 01cs6002 quotation:

> I have written a kernel Virtual file system which merges different
> filesystem directories. For this I am using a VFS function
> inode_dir_notify() function to notify the parent inodes. Now I want
> my virtual file system to be converted as a module. I am facing
> problems while inserting the module. When I do a insmod it is giving
> Unresolved symbol inode_dir_notify even though it is defined in the
> kernel VFS. It is working in case of statically linked version.
>
> Can somebody please suggest me why this is happening?

Looks to me (a kernel know-nothing, looking at 2.4.19) that since
inode_dir_notify is defined as a static inline function (in
include/linux/dnotify.h), no separate definition is being emitted.
(This inline seems to check whether a notify needs to be done, and
calls __inode_dir_notify if necessary.)  __inode_dir_notify *is* a
regular function, but it doesn't seem to be exported, which I believe
means it can't be referenced by a module.

-- 
 /                          |
[|] Sean Neakums            |  Questions are a burden to others;
[|] <sneakums@zork.net>     |      answers a prison for oneself.
 \                          |

      parent reply	other threads:[~2002-11-23 19:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-23 18:57 insmod Sathyanarayana.A.N - 01cs6002
2002-11-23 19:20 ` insmod Ronghua Zhang
2002-11-23 19:25 ` Sean Neakums [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ulm3krsuf.fsf@zork.zork.net \
    --to=sneakums@zork.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=san@cse.iitkgp.dhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®