mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Reviewed-by: Mimi Zohar <[email protected]> Signed-off-by: Eric Paris <[email protected]> CC: [email protected] Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
971b2e8a3f
commit
7d683a0999
2 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue