]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Fix time encoding with extra epoch bits
authorTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 2009 05:13:55 +0000 (01:13 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Wed, 30 Sep 2009 05:13:55 +0000 (01:13 -0400)
commit1f46705f71987e4a1bd4f43788f93fbdd244c80a
tree0e8269e07d40278c136b7f93aba7ab118f75f532
parent63c33f0bde5d0e8094a03dda4a84c9b5cb8f5f7d
ext4: Fix time encoding with extra epoch bits

"Looking at ext4.h, I think the setting of extra time fields forgets to
mask the epoch bits so the epoch part overwrites nsec part. The second
change is only for coherency (2 -> EXT4_EPOCH_BITS)."

Thanks to Damien Guibouret for pointing out this problem.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/ext4.h