lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 08 Aug 2007 20:07:34 +0300
From:	Artem Bityutskiy <dedekind@...radead.org>
To:	Jörn Engel <joern@...fs.org>
Cc:	akpm@...l.org, Arnd Bergmann <arnd@...db.de>,
	linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
	linux-fsdevel@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>,
	David Woodhouse <dwmw2@...radead.org>
Subject: Re: [Patch 05/18] fs/logfs/dir.c

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 (Битюцкий Артём)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ