summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-03-21 05:32:26 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-22 02:31:13 +0400
commitdecabd6650915a9534dad09e967115513be12b24 (patch)
tree3e4aa8ed78535f3a34b60e363e7b13efbd7ea62c /.gitignore
parent894680710d813137077ad7cb351b713f64cabbdf (diff)
downloadlinux-decabd6650915a9534dad09e967115513be12b24.tar.xz
fix a couple of ecryptfs leaks
First of all, get_sb_nodev() grabs anon dev minor and we never free it in ecryptfs ->kill_sb(). Moreover, on one of the failure exits in ecryptfs_get_sb() we leak things - it happens before we set ->s_root and ->put_super() won't be called in that case. Solution: kill ->put_super(), do all that stuff in ->kill_sb(). And use kill_anon_sb() instead of generic_shutdown_super() to deal with anon dev leak. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions