commit | f58b59c1df3cb990d644018e1461cd4acd3c1700 | [log] [tgz] |
---|---|---|
author | Xiaotian Feng <xtfeng@gmail.com> | Fri Nov 16 14:14:55 2012 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Fri Nov 16 14:33:04 2012 -0800 |
tree | 7681f5438bac5081ff9b84b3923c610873914972 | |
parent | bea8c150a7efbc0f204e709b7274fe273f55e0d3 [diff] |
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>