wrong type for 'magic' argument in simple_fill_super()
It's used to superblock ->s_magic, which is unsigned long. Signed-off-by: Roberto Sassu <roberto.sassu@polito.it> Reviewed-by: Mimi Zohar <zohar@us.ibm.com> Signed-off-by: Eric Paris <eparis@redhat.com> CC: stable@kernel.org Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -489,7 +489,8 @@ int simple_write_end(struct file *file, struct address_space *mapping,
|
||||
* unique inode values later for this filesystem, then you must take care
|
||||
* to pass it an appropriate max_reserved value to avoid collisions.
|
||||
*/
|
||||
int simple_fill_super(struct super_block *s, int magic, struct tree_descr *files)
|
||||
int simple_fill_super(struct super_block *s, unsigned long magic,
|
||||
struct tree_descr *files)
|
||||
{
|
||||
struct inode *inode;
|
||||
struct dentry *root;
|
||||
|
Reference in New Issue
Block a user