]> git.karo-electronics.de Git - karo-tx-linux.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)
commitc1fccc0696bcaff6008c11865091f5ec4b0937ab
tree0e8269e07d40278c136b7f93aba7ab118f75f532
parent0ef122494020521309be855bfdeeb41f34bf8c94
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