]> git.karo-electronics.de Git - linux-beck.git/commit
NFSD: Fix memory leak in encoding denied lock
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 7 Jul 2014 14:10:56 +0000 (22:10 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 10 Jul 2014 00:55:08 +0000 (20:55 -0400)
commit01529e3f817908b394221b0a5d985ae3541641cc
treead2398d812af60dcb48daa047301c19124b4708b
parent0fe492db6003218d5c36765c09cce3a5a9f8a2eb
NFSD: Fix memory leak in encoding denied lock

Commit 8c7424cff6 (nfsd4: don't try to encode conflicting owner if low on space)
forgot free conf->data in nfsd4_encode_lockt and before sign conf->data to NULL
in nfsd4_encode_lock_denied.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4xdr.c