Skip to content
Unverified Commit 93e6c304 authored by Jeff Layton's avatar Jeff Layton Committed by Christian Brauner
Browse files

fat: remove i_version handling from fat_update_time

commit 6bb885ec

 (fat: add functions to update and truncate
timestamps appropriately") added an update_time routine for fat. That
patch added a section for handling the S_VERSION bit, even though FAT
doesn't enable SB_I_VERSION and the S_VERSION bit will never be set when
calling it.

Remove the section for handling S_VERSION since it's effectively dead
code, and will be problematic vs. future changes.

Cc: Frank Sorenson <sorenson@redhat.com>
Signed-off-by: default avatarJeff Layton <jlayton@kernel.org>
Acked-by: default avatarOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reviewed-by: default avatarJan Kara <jack@suse.cz>
Reviewed-by: default avatarFrank Sorenson <sorenson@redhat.com>
Message-Id: <20230810-ctime-fat-v1-1-327598fd1de8@kernel.org>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 97ebfdb7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment