From: Trond Myklebust Date: Tue, 21 Jul 2009 20:47:46 +0000 (-0400) Subject: NFSv4: Fix an Oops in nfs4_free_lock_state X-Git-Tag: v2.6.31-rc4~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b64aec8d1e1d8482a7b6cca60c8105c756bf1fe4;p=pandora-kernel.git NFSv4: Fix an Oops in nfs4_free_lock_state The oops http://www.kerneloops.org/raw.php?rawid=537858&msgid= appears to be due to the nfs4_lock_state->ls_state field being uninitialised. This happens if the call to nfs4_free_lock_state() is triggered at the end of nfs4_get_lock_state(). The fix is to move the initialisation of ls_state into the allocator. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed