From: Jeff Layton Date: Tue, 5 Apr 2011 23:23:47 +0000 (-0700) Subject: cifs: check for private_data before trying to put it X-Git-Tag: v2.6.39-rc4~62^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7797069305d13252fd66cf722aa8f2cbeb3c95cd;p=pandora-kernel.git cifs: check for private_data before trying to put it cifs_close doesn't check that the filp->private_data is non-NULL before trying to put it. That can cause an oops in certain error conditions that can occur on open or lookup before the private_data is set. Reported-by: Ben Greear CC: Stable Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed