]> git.baikalelectronics.ru Git - kernel.git/commit
fs: export an inode_update_time helper
authorJosef Bacik <josef@toxicpanda.com>
Thu, 14 Oct 2021 17:11:00 +0000 (13:11 -0400)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Oct 2021 17:08:08 +0000 (19:08 +0200)
commit7d90459a738b1f6f49520a7182dde71c69c0ff0e
tree8e294e906c689646e276f52c0c3acbcbf5e6194c
parent4a63ed54b869240f702af4458efdeccfa28c0958
fs: export an inode_update_time helper

If you already have an inode and need to update the time on the inode
there is no way to do this properly.  Export this helper to allow file
systems to update time on the inode so the appropriate handler is
called, either ->update_time or generic_update_time.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/inode.c
include/linux/fs.h