[Patch 05/18] fs/logfs/dir.c
Artem Bityutskiy
dedekind at infradead.org
Wed Aug 8 13:07:34 EDT 2007
On Wed, 2007-08-08 at 18:16 +0200, Jörn Engel wrote:
> +static inline void logfs_inc_count(struct inode *inode)
> +{
> + inode->i_nlink++;
> + mark_inode_dirty_sync(inode);
> +}
> +
> +static inline void logfs_dec_count(struct inode *inode)
> +{
> + inode->i_nlink--;
> + mark_inode_dirty_sync(inode);
> +}
include/linux/fs.h: inode_inc_link_count() inode_dec_link_count() do
this. Although not sure they exist in the old kernel your patches are
against.
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
More information about the linux-mtd
mailing list