Feedback welcomed.

Signed-off-by: Loganaden Velvindron <[email protected]>
---
 fs/fuse/dir.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/fuse/dir.c b/fs/fuse/dir.c
index c47b778..75e5e4f 100644
--- a/fs/fuse/dir.c
+++ b/fs/fuse/dir.c
@@ -76,8 +76,8 @@ static u64 fuse_dentry_time(struct dentry *entry)
 static u64 time_to_jiffies(unsigned long sec, unsigned long nsec)
 {
        if (sec || nsec) {
-               struct timespec ts = {sec, nsec};
-               return get_jiffies_64() + timespec_to_jiffies(&ts);
+               struct timespec64 ts64 = {sec, nsec};
+               return get_jiffies_64() + timespec64_to_jiffies(&ts64);
        } else
                return 0;
 }
-- 
2.9.2

_______________________________________________
Y2038 mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/y2038

Reply via email to