+8
−22
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Currently we allocated anon_inode_inode in anon_inodefs_mount. This is somewhat fragile as if that function ever gets called again, it will overwrite anon_inode_inode pointer. So move the initialization of anon_inode_inode to anon_inode_init(). Signed-off-by:Jan Kara <jack@suse.cz> [ Further simplified on suggestion from Dave Jones ] Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>