mirror of https://gitee.com/openkylin/linux.git
[PATCH] fs/inode.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
663d1ba2f1
commit
e6c6e640b8
|
@ -162,7 +162,7 @@ static struct inode *alloc_inode(struct super_block *sb)
|
|||
bdi = sb->s_bdev->bd_inode->i_mapping->backing_dev_info;
|
||||
mapping->backing_dev_info = bdi;
|
||||
}
|
||||
inode->i_private = 0;
|
||||
inode->i_private = NULL;
|
||||
inode->i_mapping = mapping;
|
||||
}
|
||||
return inode;
|
||||
|
|
Loading…
Reference in New Issue