commit | 7797069305d13252fd66cf722aa8f2cbeb3c95cd | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Tue Apr 05 16:23:47 2011 -0700 |
committer | Steve French <sfrench@us.ibm.com> | Tue Apr 12 00:39:05 2011 +0000 |
tree | 85464ab3649def5954b04139c5854ae593db0703 | |
parent | a6360dd37e1a144ed11e6548371bade559a1e4df [diff] |
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 <greearb@candelatech.com> CC: Stable <stable@kernel.org> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>