diff options
author | Jan Kara <jack@suse.cz> | 2014-03-26 06:20:14 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-03-27 09:52:54 -0700 |
commit | 75c5a52da3fc2a06abb6c6192bdf5d680e56d37d (patch) | |
tree | ad31cd7d9c1d5893d6b2ce392b170c068b625688 /fs/Kconfig | |
parent | f217c44ebd41ce7369d2df07622b2839479183b0 (diff) |
vfs: Allocate anon_inode_inode in anon_inode_init()
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>
Diffstat (limited to 'fs/Kconfig')
0 files changed, 0 insertions, 0 deletions