smb_kfree(server);
}
-int smb_fill_super(struct super_block *sb, void *raw_data, int silent)
+static int smb_fill_super(struct super_block *sb, void *raw_data, int silent)
{
struct smb_sb_info *server;
struct smb_mount_data_kernel *mnt;
sb->s_blocksize_bits = 10;
sb->s_magic = SMB_SUPER_MAGIC;
sb->s_op = &smb_sops;
+ sb->s_time_gran = 100;
server = smb_kmalloc(sizeof(struct smb_sb_info), GFP_KERNEL);
if (!server)
/*
* Keep the super block locked while we get the root inode.
*/
- smb_init_root_dirent(server, &root);
+ smb_init_root_dirent(server, &root, sb);
root_inode = smb_iget(sb, &root);
if (!root_inode)
goto out_no_root;