Merge git://github.com/rustyrussell/linux
[pandora-kernel.git] / fs / ufs / ialloc.c
index 2eabf04..78a4c70 100644 (file)
@@ -341,7 +341,7 @@ cg_found:
 
 fail_remove_inode:
        unlock_super(sb);
-       inode->i_nlink = 0;
+       clear_nlink(inode);
        iput(inode);
        UFSD("EXIT (FAILED): err %d\n", err);
        return ERR_PTR(err);