diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-12-20 06:10:31 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-12-20 06:10:31 +0300 |
commit | af0b44a1970fed1cda31d2969c99c46ffc515160 (patch) | |
tree | b382d80df604c0bbd61836c13ae0b6f3020728e5 /virt | |
parent | cad3f00763dcf9dfc62cbddf4bd714ab5a71a0eb (diff) | |
download | linux-af0b44a1970fed1cda31d2969c99c46ffc515160.tar.xz |
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 <jr-list-2010@quo.to>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions