From: Eric Sandeen Date: Mon, 20 Dec 2010 03:10:31 +0000 (-0500) Subject: ext4: zero out nanosecond timestamps for small inodes X-Git-Tag: v2.6.38-rc1~409^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af0b44a1970fed1cda31d2969c99c46ffc515160;p=pandora-kernel.git ext4: zero out nanosecond timestamps for small inodes 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 Signed-off-by: Eric Sandeen Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed