Commit d4d68172 authored by Andrew Morton's avatar Andrew Morton Committed by Dave Jones

[PATCH] initialise inode->i_rdev

From latest -aa kernels.
parent e1e412da
......@@ -129,6 +129,7 @@ static struct inode *alloc_inode(struct super_block *sb)
inode->i_pipe = NULL;
inode->i_bdev = NULL;
inode->i_cdev = NULL;
inode->i_rdev = to_kdev_t(0);
inode->i_security = NULL;
if (security_inode_alloc(inode)) {
if (inode->i_sb->s_op->destroy_inode)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment