summaryrefslogtreecommitdiff
path: root/drivers/ide/cmd64x.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2011-06-15 12:47:04 -0700
committerEric W. Biederman <ebiederm@xmission.com>2011-06-15 14:35:29 -0700
commit793925334f32e9026c22baee5c3c340f47d4ef7e (patch)
tree56682059a84cf6ee12b664ac32b42d431f8c4be8 /drivers/ide/cmd64x.c
parent2c53b436a30867eb6b47dd7bab23ba638d1fb0d2 (diff)
downloadlwn-793925334f32e9026c22baee5c3c340f47d4ef7e.tar.gz
lwn-793925334f32e9026c22baee5c3c340f47d4ef7e.zip
proc: Fix Oops on stat of /proc/<zombie pid>/ns/net
Don't call iput with the inode half setup to be a namespace filedescriptor. Instead rearrange the code so that we don't initialize ei->ns_ops until after I ns_ops->get succeeds, preventing us from invoking ns_ops->put when ns_ops->get failed. Reported-by: Ingo Saitz <Ingo.Saitz@stud.uni-hannover.de> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'drivers/ide/cmd64x.c')
0 files changed, 0 insertions, 0 deletions