hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/fs/hfs/inode.c
....@@ -17,6 +17,7 @@
1717 #include <linux/cred.h>
1818 #include <linux/uio.h>
1919 #include <linux/xattr.h>
20
+#include <linux/blkdev.h>
2021
2122 #include "hfs_fs.h"
2223 #include "btree.h"
....@@ -351,7 +352,7 @@
351352 inode->i_mode &= ~hsb->s_file_umask;
352353 inode->i_mode |= S_IFREG;
353354 inode->i_ctime = inode->i_atime = inode->i_mtime =
354
- timespec_to_timespec64(hfs_m_to_utime(rec->file.MdDat));
355
+ hfs_m_to_utime(rec->file.MdDat);
355356 inode->i_op = &hfs_file_inode_operations;
356357 inode->i_fop = &hfs_file_operations;
357358 inode->i_mapping->a_ops = &hfs_aops;
....@@ -362,7 +363,7 @@
362363 HFS_I(inode)->fs_blocks = 0;
363364 inode->i_mode = S_IFDIR | (S_IRWXUGO & ~hsb->s_dir_umask);
364365 inode->i_ctime = inode->i_atime = inode->i_mtime =
365
- timespec_to_timespec64(hfs_m_to_utime(rec->dir.MdDat));
366
+ hfs_m_to_utime(rec->dir.MdDat);
366367 inode->i_op = &hfs_dir_inode_operations;
367368 inode->i_fop = &hfs_dir_operations;
368369 break;