]> 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)
commit5c38e352f62951056838215133ed4aa7d6f949f8
tree8e294e906c689646e276f52c0c3acbcbf5e6194c
parentf63c62fd8a3a58a617508e003227ecd52ccfae0d
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