+6
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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>