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)
commit3451538a114d738a6528b1da58e19e7d8964c647
tree6aeefee69b655c3a0817c6fb7c3771d69937e630
parent3f3834c35466324e3a7d7bf3a950dbcd99645f38
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