tux3: Fix timestamp update for special files
Special files are updating timestamps without locking and
change_begin/end now. This means, tux3 crashes at
tux3_mark_inode_dirty() because of no change_begin().
So, this adds ->update_time() handler to special files.
[FIXME: maybe, we should add lock for timestamp.]
And additionally, dir/symlink updates timestamps i_*time directly
(except i_atime), so this adds assertion in ->update_time() of
dir/symlink for debugging.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
3 files changed