From: Tristan Lelong Date: Sun, 18 Jan 2015 07:44:49 +0000 (-0800) Subject: staging: lustre: remove kmalloc from fld_proc_hash_seq_write X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~83^2~194 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41dff7ac1a7c97f5532931154bfdf505d7ce1631;p=pandora-kernel.git staging: lustre: remove kmalloc from fld_proc_hash_seq_write This patch simplifies the fld_proc_hash_seq_write function by removing the dynamic memory allocation. The longest fh_name used so far in lustre is 4 characters. We use a 8 bytes variable to be on the safe side. Signed-off-by: Tristan Lelong Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed