diff options
author | OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> | 2010-01-11 19:36:14 +0100 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-01-14 15:05:26 +0100 |
commit | 806892e9e12e731a0ca76c8f62ad95cf8eea9614 (patch) | |
tree | a063df1524ed862ef2475052e1cc1c66de390dc2 /Documentation/SubmittingDrivers | |
parent | Fix ACC_MODE() for real (diff) | |
download | linux-806892e9e12e731a0ca76c8f62ad95cf8eea9614.tar.xz linux-806892e9e12e731a0ca76c8f62ad95cf8eea9614.zip |
ecryptfs: Fix refcnt leak on ecryptfs_follow_link() error path
If ->follow_link handler return the error, it should decrement
nd->path refcnt. But, ecryptfs_follow_link() doesn't decrement.
This patch fix it by using usual nd_set_link() style error handling,
instead of playing with nd->path.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'Documentation/SubmittingDrivers')
0 files changed, 0 insertions, 0 deletions