Re: [PATCH] 2.6.15: access permission filesystem 0.17

From: Olaf Dietsche
Date: Sun Jan 15 2006 - 16:20:46 EST


Ingo Oeser <ioe-lkml@xxxxxxxxxx> writes:

> On Saturday 14 January 2006 22:06, Olaf Dietsche wrote:
> [PATCH]
>
> accessfs_readdir_aux() in fs/accessfs/inode.c
>
> should set DT_REG, since accessfs supports just directories
> and regular files. The directory is already handled before
> in the sole caller of accessfs_readdir_aux().
>
> This saves the superflous stat(2) call after readdir(2).

Thanks for this hint, it is much appreciated.

Regards, Olaf.
-
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/