]> git.baikalelectronics.ru Git - kernel.git/commit
cope with potentially long ->d_dname() output for shmem/hugetlb
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 24 Aug 2013 16:08:17 +0000 (12:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 24 Aug 2013 16:10:17 +0000 (12:10 -0400)
commitafe80e445ef0b7088594b7c458209c12952189fd
treeec36d1868c21403ce009182ae8acfeae2ea2c3d0
parent7389eb40d97a7be49653b327fc3faf73333a31e2
cope with potentially long ->d_dname() output for shmem/hugetlb

dynamic_dname() is both too much and too little for those - the
output may be well in excess of 64 bytes dynamic_dname() assumes
to be enough (thanks to ashmem feeding really long names to
shmem_file_setup()) and vsnprintf() is an overkill for those
guys.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c
fs/hugetlbfs/inode.c
include/linux/dcache.h
mm/shmem.c