Re: [PATCH 1/5] Extract inode_inc_count(), inode_dec_count()

From: Andrew Morton
Date: Tue Jan 17 2006 - 20:14:59 EST


Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> +static inline void inode_inc_count(struct inode *inode)
> +{
> + inode->i_nlink++;
> + mark_inode_dirty(inode);
> +}

hm, OK. I think I'll switch these all to inode_inc_link_count(), to
clearly distinguish them from the various functions which diddle ->i_count.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/