All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tomas Hruby <thruby@gmail.com>
To: linux-fsdevel@vger.kernel.org
Cc: UZAIR LAKHANI <uzairr_bs1b@yahoo.com>
Subject: Re: getting file pointer from dentry/inode
Date: Thu, 4 May 2006 12:02:11 +0200	[thread overview]
Message-ID: <20060504100211.GA19970@fspc268> (raw)
In-Reply-To: <20060504094513.75349.qmail@web37901.mail.mud.yahoo.com>

> Secondly is this logically correct to get the file
> pointer from inode/dentry etc.

I don't think so. A single file on a disk (inode) can be opened concurrently,
with different mode, with different read position, etc. Many file structures
share the same inode then.

		TH

  reply	other threads:[~2006-05-04  9:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-04  9:45 getting file pointer from dentry/inode UZAIR LAKHANI
2006-05-04 10:02 ` Tomas Hruby [this message]
2006-05-04 10:48   ` UZAIR LAKHANI
2006-05-04 11:23     ` Fawad Lateef
2006-05-04 11:14 ` Fawad Lateef

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=20060504100211.GA19970@fspc268 \
    --to=thruby@gmail.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=uzairr_bs1b@yahoo.com \
    /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.