2.4 v. 2.5 nfs_dentry_iput()

From: Frank Cusack (fcusack@fcusack.com)
Date: Mon Jun 02 2003 - 04:15:29 EST


Hi,

Could someone quickly explain the difference between the 2.4.20 and 2.5.69
nfs_dentry_iput()?

static void nfs_dentry_iput(struct dentry *dentry, struct inode *inode)
{
        if (dentry->d_flags & DCACHE_NFSFS_RENAMED) {
                lock_kernel();
                inode->i_nlink--; /* only in 2.5 */
                nfs_complete_unlink(dentry);
                unlock_kernel();
        }
        if (is_bad_inode(inode)) /* not in 2.5 */
                force_delete(inode); /* not in 2.5 */
        /* When creating a negative dentry, we want to renew d_time */
        nfs_renew_times(dentry); /* only in 2.5 */
        iput(inode);
}

Thanks,
/fc
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:16 EST