projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostfs: Fix ephemeral inodes
[linux-2.6-block.git]
/
fs
/
hostfs
/
hostfs_user.c
diff --git
a/fs/hostfs/hostfs_user.c
b/fs/hostfs/hostfs_user.c
index 5ecc4706172b182fa7c8dda71d942f9d6081a688..840619e39a1a69d254d88110579d236615b0ad38 100644
(file)
--- a/
fs/hostfs/hostfs_user.c
+++ b/
fs/hostfs/hostfs_user.c
@@
-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)