X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=fs%2Fbinfmt_misc.c;h=1e9edbdeda7ebcbe243b299d46859c4917f0e217;hb=12cbfd0a3c52a52c2948c91b9e62e73c468d1572;hp=ba1a1ae4a18a52c714ae82281e3c1f39fbfae02a;hpb=e34eb39c1c791fe79da6aae0d9057f0c74c2f0ed;p=~andy%2Flinux diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index ba1a1ae4a18..1e9edbdeda7 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c @@ -521,7 +521,7 @@ static void kill_node(Node *e) write_unlock(&entries_lock); if (dentry) { - dentry->d_inode->i_nlink--; + drop_nlink(dentry->d_inode); d_drop(dentry); dput(dentry); simple_release_fs(&bm_mnt, &entry_count);