diff options
author | Arnd Bergmann <arnd@arndb.de> | 2018-06-20 10:15:13 +0200 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2018-06-27 13:58:00 +0200 |
commit | c3b9cecd89b806e14544af596396e18abd00f145 (patch) | |
tree | 8fa7396a50bf30ba9c5fa6da54cbda067e686c55 /fs/udf/ialloc.c | |
parent | Merge branch 'fixes-v4.18-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
download | linux-c3b9cecd89b806e14544af596396e18abd00f145.tar.xz linux-c3b9cecd89b806e14544af596396e18abd00f145.zip |
udf: convert inode stamps to timespec64
The VFS structures are finally converted to always use 64-bit timestamps,
and this file system can represent a long range of on-disk timestamps
already, so now let's fit in the missing bits for udf.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/ialloc.c')
-rw-r--r-- | fs/udf/ialloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/ialloc.c b/fs/udf/ialloc.c index 56569023783b..f8e5872f7cc2 100644 --- a/fs/udf/ialloc.c +++ b/fs/udf/ialloc.c @@ -125,7 +125,7 @@ struct inode *udf_new_inode(struct inode *dir, umode_t mode) else iinfo->i_alloc_type = ICBTAG_FLAG_AD_LONG; inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); - iinfo->i_crtime = timespec64_to_timespec(inode->i_mtime); + iinfo->i_crtime = inode->i_mtime; if (unlikely(insert_inode_locked(inode) < 0)) { make_bad_inode(inode); iput(inode); |