All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Friesen <cfriesen@nortel.com>
To: Hugh Dickins <hugh@veritas.com>
Cc: Andrew Morton <akpm@osdl.org>, linux-kernel@vger.kernel.org
Subject: Re: why does fsync() on a tmpfs directory give EINVAL?
Date: Fri, 17 Jun 2005 08:28:10 -0600	[thread overview]
Message-ID: <42B2DDFA.8020200@nortel.com> (raw)
In-Reply-To: <Pine.LNX.4.61.0506171419570.10248@goblin.wat.veritas.com>

Hugh Dickins wrote:

> No need to check the list: any filesystem using simple_dir_operations
> is using dcache_readdir, which implies there's no storage to be synced.
> And we all agree that success is a more helpful retval than -EINVAL
> when there's nothing for fsync to do.  Here's a patch if you haven't
> done it already....

Thanks for the input.  I wasn't positive the change would be benign, so 
  I was waiting for the discussion to resolve itself.

Chris

      reply	other threads:[~2005-06-17 14:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-16 20:07 why does fsync() on a tmpfs directory give EINVAL? Chris Friesen
2005-06-16 20:57 ` Andrew Morton
2005-06-16 22:54   ` Chris Friesen
2005-06-16 23:29     ` Andrew Morton
2005-06-17  1:52       ` Chris Friesen
2005-06-17  1:57         ` Andrew Morton
2005-06-17  4:46           ` Chris Wedgwood
2005-06-17 13:32           ` Hugh Dickins
2005-06-17 14:28             ` Chris Friesen [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=42B2DDFA.8020200@nortel.com \
    --to=cfriesen@nortel.com \
    --cc=akpm@osdl.org \
    --cc=hugh@veritas.com \
    --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.