diff options
author | Tristan Lelong <tristan@lelong.xyz> | 2015-01-17 23:44:49 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 19:59:14 +0800 |
commit | 41dff7ac1a7c97f5532931154bfdf505d7ce1631 (patch) | |
tree | 9b10dfaf34376abea30d93165283743ccedbf7d1 /kernel/locking/mutex-debug.c | |
parent | 9ef6a8331219b0242ac423cf9629d4f6377d4993 (diff) |
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 <tristan@lelong.xyz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions