mirror of
https://gitee.com/bianbu-linux/linux-6.6-fh
synced 2025-04-24 20:17:08 -04:00
fs: drop the timespec64 argument from update_time
Now that all of the update_time operations are prepared for it, we can drop the timespec64 argument from the update_time operation. Do that and remove it from some associated functions like inode_update_time and inode_needs_update_time. Signed-off-by: Jeff Layton <jlayton@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Message-Id: <20230807-mgctime-v7-8-d1dec143a704@kernel.org> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
51b0f3ebdb
commit
913e99287b
15 changed files with 27 additions and 39 deletions
|
@ -460,8 +460,7 @@ extern struct timespec64 fat_truncate_mtime(const struct msdos_sb_info *sbi,
|
|||
const struct timespec64 *ts);
|
||||
extern int fat_truncate_time(struct inode *inode, struct timespec64 *now,
|
||||
int flags);
|
||||
extern int fat_update_time(struct inode *inode, struct timespec64 *now,
|
||||
int flags);
|
||||
extern int fat_update_time(struct inode *inode, int flags);
|
||||
extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
|
||||
|
||||
int fat_cache_init(void);
|
||||
|
|
|
@ -339,7 +339,7 @@ int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags)
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(fat_truncate_time);
|
||||
|
||||
int fat_update_time(struct inode *inode, struct timespec64 *now, int flags)
|
||||
int fat_update_time(struct inode *inode, int flags)
|
||||
{
|
||||
int dirty_flags = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue