]> git.karo-electronics.de Git - karo-tx-linux.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)
commit118b23022512eb2f41ce42db70dc0568d00be4ba
treeec36d1868c21403ce009182ae8acfeae2ea2c3d0
parentb36f4be3de1b123d8601de062e7dbfc904f305fb
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