Merge tag 'landlock-6.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mic...
[linux-2.6-microblaze.git] / fs / hostfs / hostfs_user.c
index 5ecc470..840619e 100644 (file)
@@ -36,6 +36,7 @@ static void stat64_to_hostfs(const struct stat64 *buf, struct hostfs_stat *p)
        p->blocks = buf->st_blocks;
        p->maj = os_major(buf->st_rdev);
        p->min = os_minor(buf->st_rdev);
+       p->dev = buf->st_dev;
 }
 
 int stat_file(const char *path, struct hostfs_stat *p, int fd)