]> git.baikalelectronics.ru Git - kernel.git/commit
shmem_setup_file(): use d_alloc_pseudo() instead of d_alloc()
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 15 Feb 2013 03:38:02 +0000 (22:38 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:43:22 +0000 (02:43 -0500)
commitd0167a168c248a41686780c7f57b1333f29bf60d
tree6aeefee69b655c3a0817c6fb7c3771d69937e630
parentdc423bf217abb290dddc9511e13b32b4cb704f02
shmem_setup_file(): use d_alloc_pseudo() instead of d_alloc()

Note that provided ->d_dname() reproduces what we used to get for
those guys in e.g. /proc/self/maps; it might be a good idea to change
that to something less ugly, but for now let's keep the existing
user-visible behaviour

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
mm/shmem.c