efivarfs: Drop link count of the right inode
authorLingzhu Xiang <lxiang@redhat.com>
Sat, 5 Jan 2013 05:59:52 +0000 (13:59 +0800)
committerMatt Fleming <matt.fleming@intel.com>
Fri, 18 Jan 2013 09:43:43 +0000 (09:43 +0000)
commitde5fe95587b4dcc86cc451fce2909dfa504fce10
tree0aa4300c1cfd134d192bb48842a550fee6e8e1af
parent7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619
efivarfs: Drop link count of the right inode

efivarfs_unlink() should drop the file's link count, not the directory's.

Signed-off-by: Lingzhu Xiang <lxiang@redhat.com>
Cc: Jeremy Kerr <jeremy.kerr@canonical.com>
Tested-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efivars.c