]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/binfmt_misc.c
filesystems: add missing nlink wrappers
[karo-tx-linux.git] / fs / binfmt_misc.c
index ba1a1ae4a18a52c714ae82281e3c1f39fbfae02a..1e9edbdeda7ebcbe243b299d46859c4917f0e217 100644 (file)
@@ -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);