diff options
author | Xiaotian Feng <xtfeng@gmail.com> | 2012-11-16 14:14:55 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-11-16 14:33:04 -0800 |
commit | f58b59c1df3cb990d644018e1461cd4acd3c1700 (patch) | |
tree | 7681f5438bac5081ff9b84b3923c610873914972 /drivers/rapidio | |
parent | bea8c150a7efbc0f204e709b7274fe273f55e0d3 (diff) | |
download | linux-f58b59c1df3cb990d644018e1461cd4acd3c1700.tar.bz2 |
swapfile: fix name leak in swapoff
There's a name leak introduced by commit 91a27b2a7567 ("vfs: define
struct filename and have getname() return it"). Add the missing
putname.
[akpm@linux-foundation.org: cleanup]
Signed-off-by: Xiaotian Feng <dannyfeng@tencent.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions