git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
fs
/
ramfs
/
inode.c
diff --git
a/fs/ramfs/inode.c
b/fs/ramfs/inode.c
index
fd4353f
..
97a7a8f
100644
(file)
--- a/
fs/ramfs/inode.c
+++ b/
fs/ramfs/inode.c
@@
-186,6
+186,7
@@
static int ramfs_fill_super(struct super_block * sb, void * data, int silent)
sb->s_blocksize_bits = PAGE_CACHE_SHIFT;
sb->s_magic = RAMFS_MAGIC;
sb->s_op = &ramfs_ops;
+ sb->s_time_gran = 1;
inode = ramfs_get_inode(sb, S_IFDIR | 0755, 0);
if (!inode)
return -ENOMEM;