aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ntfs/file.c
diff options
context:
space:
mode:
authorDeepa Dinamani <deepa.kernel@gmail.com>2019-06-15 09:00:05 -0700
committerDeepa Dinamani <deepa.kernel@gmail.com>2019-08-30 07:27:17 -0700
commit3818c1907a5e4e8fbd57fb14cea77de7c507111a (patch)
tree6ecfae43da546781513ca392b18857155da87f1b /fs/ntfs/file.c
parentvfs: Add timestamp_truncate() api (diff)
downloadlinux-dev-3818c1907a5e4e8fbd57fb14cea77de7c507111a.tar.xz
linux-dev-3818c1907a5e4e8fbd57fb14cea77de7c507111a.zip
timestamp_truncate: Replace users of timespec64_trunc
Update the inode timestamp updates to use timestamp_truncate() instead of timespec64_trunc(). The change was mostly generated by the following coccinelle script. virtual context virtual patch @r1 depends on patch forall@ struct inode *inode; identifier i_xtime =~ "^i_[acm]time$"; expression e; @@ inode->i_xtime = - timespec64_trunc( + timestamp_truncate( ..., - e); + inode); Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Jeff Layton <jlayton@kernel.org> Cc: adrian.hunter@intel.com Cc: dedekind1@gmail.com Cc: gregkh@linuxfoundation.org Cc: hch@lst.de Cc: jaegeuk@kernel.org Cc: jlbec@evilplan.org Cc: richard@nod.at Cc: tj@kernel.org Cc: yuchao0@huawei.com Cc: linux-f2fs-devel@lists.sourceforge.net Cc: linux-ntfs-dev@lists.sourceforge.net Cc: linux-mtd@lists.infradead.org
Diffstat (limited to 'fs/ntfs/file.c')
0 files changed, 0 insertions, 0 deletions