Re: [rfc][patch 2/3] fs: make use of new helper functions

From: Christoph Hellwig
Date: Mon Jul 06 2009 - 13:24:03 EST


On Mon, Jul 06, 2009 at 06:55:22PM +0200, Nick Piggin wrote:
>
> Update some fs code to make use of new helper functions introduced
> in the previous patch. Should be no significant change in behaviour
> (except CIFS now calls send_sig under i_lock, via inode_truncate_ok).
>
> ---
> fs/buffer.c | 10 +--------
> fs/cifs/inode.c | 51 ++++++++-----------------------------------------
> fs/fuse/dir.c | 13 +++---------
> fs/fuse/fuse_i.h | 2 -
> fs/fuse/inode.c | 10 ---------
> fs/nfs/inode.c | 52 +++++++++++---------------------------------------
> fs/ramfs/file-nommu.c | 18 ++++-------------
> 7 files changed, 33 insertions(+), 123 deletions(-)

Nice cleanup. I would recommend moving the introduction of those
helpers to this patch and make it the first in the series.
--
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/