All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Chow <davidchow@rcn.com.hk>
To: linux-kernel@vger.kernel.org
Subject: vfs_symlink return NULL inode
Date: Sat, 22 Sep 2001 14:39:07 +0800	[thread overview]
Message-ID: <3BAC320B.219B808F@rcn.com.hk> (raw)

Dear all,

I have one question from using vfs_symlink, is it usual after I called
vfs_symlink that will return a dentry with dentry->d_inode == NULL???
The link was sucessfully created but I receive a null inode pointer. 
When creating a symlink it should also create an inode. But according to
the documentation about VFS from Richard, the symlink call of
inode_operations, should self call d_instantiate() this also means it
should automatically create an inode pointer. This shouldn't be done by
the caller???? Any hints? the vfs_create works fine and return with a
proper inode number, why vfs_symlink doesn't? Thanks.

regards,

David Chow

             reply	other threads:[~2001-09-22  6:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-22  6:39 David Chow [this message]
2001-09-22 12:52 ` vfs_symlink return NULL inode Alexander Viro
2001-09-23  2:49   ` David Chow

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=3BAC320B.219B808F@rcn.com.hk \
    --to=davidchow@rcn.com.hk \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.