diff options
Diffstat (limited to 'fs/libfs.c')
-rw-r--r-- | fs/libfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/libfs.c b/fs/libfs.c index baeb71ee1cde..1add676a19df 100644 --- a/fs/libfs.c +++ b/fs/libfs.c | |||
@@ -216,8 +216,8 @@ int get_sb_pseudo(struct file_system_type *fs_type, char *name, | |||
216 | 216 | ||
217 | s->s_flags = MS_NOUSER; | 217 | s->s_flags = MS_NOUSER; |
218 | s->s_maxbytes = ~0ULL; | 218 | s->s_maxbytes = ~0ULL; |
219 | s->s_blocksize = 1024; | 219 | s->s_blocksize = PAGE_SIZE; |
220 | s->s_blocksize_bits = 10; | 220 | s->s_blocksize_bits = PAGE_SHIFT; |
221 | s->s_magic = magic; | 221 | s->s_magic = magic; |
222 | s->s_op = ops ? ops : &simple_super_operations; | 222 | s->s_op = ops ? ops : &simple_super_operations; |
223 | s->s_time_gran = 1; | 223 | s->s_time_gran = 1; |