fat: remove i_version handling from fat_update_time
authorJeff Layton <jlayton@kernel.org>
Thu, 10 Aug 2023 13:12:04 +0000 (09:12 -0400)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Aug 2023 07:04:56 +0000 (09:04 +0200)
commit93e6c30435443bad38414b745845fb1d3fa6963e
tree8cdc8e05abbb91ecac6c80509b66c6610b206883
parent97ebfdb7ad089d5213f6c75fdc48173fe0f14439
fat: remove i_version handling from fat_update_time

commit 6bb885ecd746 (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: Jeff Layton <jlayton@kernel.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Frank Sorenson <sorenson@redhat.com>
Message-Id: <20230810-ctime-fat-v1-1-327598fd1de8@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fat/misc.c