pstore: fix leaking ->i_private
authorTony Luck <tony.luck@intel.com>
Fri, 18 Mar 2011 18:44:48 +0000 (11:44 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Mar 2011 04:45:38 +0000 (00:45 -0400)
commita872d5101008b091035d579897bccefdeff70def
treebd67c94ab043022f3ab0e9cf8954e5c69a10f37b
parentb7ed78f56575074f29ec99d8984f347f6c99c914
pstore: fix leaking ->i_private

Move kfree() of i_private out of ->unlink() and into ->evict_inode()

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/pstore/inode.c