https://github.com/torvalds/linux
Revision 75c5a52da3fc2a06abb6c6192bdf5d680e56d37d authored by Jan Kara on 26 March 2014, 05:20:14 UTC, committed by Linus Torvalds on 27 March 2014, 16:52:54 UTC
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>
1 parent f217c44
History
Tip revision: 75c5a52da3fc2a06abb6c6192bdf5d680e56d37d authored by Jan Kara on 26 March 2014, 05:20:14 UTC
vfs: Allocate anon_inode_inode in anon_inode_init()
Tip revision: 75c5a52
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 267.3 KB
Makefile -rw-r--r-- 49.1 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top