aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorStuart Swales <[email protected]>2011-03-22 23:35:05 +0000
committerLinus Torvalds <[email protected]>2011-03-23 00:44:17 +0000
commit7a9730af9c596749425a98eba136152e5be4602a (patch)
tree1a7f03d7541768a9d2b4b25fab2ee07eec37c268 /fs/jbd/commit.c
parentadfs: fix E+/F+ dir size > 2048 crashing kernel (diff)
downloadkernel-7a9730af9c596749425a98eba136152e5be4602a.tar.gz
kernel-7a9730af9c596749425a98eba136152e5be4602a.zip
adfs: improve timestamp precision
ADFS (FileCore) storage complies with the RISC OS timestamp specification (40-bit centiseconds since 01 Jan 1900 00:00:00). It is desirable that stored timestamp precision be maintained to facilitate a precise copy of data and metadata from a hard disc (or image thereof) into a RISC OS emulator (such as RPCEmu). This patch implements a full-precision conversion from ADFS to Unix timestamp as the existing driver, for ease of calculation with old 32-bit compilers, uses the common trick of shifting the 40-bits representing centiseconds around into 32-bits representing seconds thereby losing precision. Signed-off-by: Stuart Swales<[email protected]> Cc: Russell King <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions