All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ted Ts'o <tytso@mit.edu>
To: Eric Sandeen <sandeen@redhat.com>
Cc: Jordan Russell <jr-list-2010@quo.to>, linux-ext4@vger.kernel.org
Subject: Re: [PATCH] ext4: zero out nanosecond timestamps for small inodes
Date: Sun, 19 Dec 2010 22:11:30 -0500	[thread overview]
Message-ID: <20101220031130.GE23626@thunk.org> (raw)
In-Reply-To: <4CEAAC4C.3070406@redhat.com>

On Mon, Nov 22, 2010 at 11:45:48AM -0600, Eric Sandeen wrote:
> As reported by Jordan Russell:
> 
> When nanosecond timestamp resolution isn't supported on an ext4
> partition (inode size = 128), stat() appears to be returning
> uninitialized garbage in the nanosecond component of timestamps.
> 
> EXT4_INODE_GET_XTIME should zero out tv_nsec when EXT4_FITS_IN_INODE
> evaluates to false.
> 
> Reported-by: Jordan Russell <jr-list-2010@quo.to>
> Signed-of-by: Eric Sandeen <sandeen@redhat.com>

Thanks, added to the ext4 patch queue.

						- Ted

      reply	other threads:[~2010-12-20  3:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-20  6:22 Garbage returned in nanosecond component of timestamps Jordan Russell
2010-11-20  7:53 ` Eric Sandeen
2010-11-22 17:45 ` [PATCH] ext4: zero out nanosecond timestamps for small inodes Eric Sandeen
2010-12-20  3:11   ` Ted Ts'o [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=20101220031130.GE23626@thunk.org \
    --to=tytso@mit.edu \
    --cc=jr-list-2010@quo.to \
    --cc=linux-ext4@vger.kernel.org \
    --cc=sandeen@redhat.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.