> From: Zhang Rui <rui.zhang@intel.com>
> File name should be unique in the same directory.
>
> In order to keep the back-compatibility, only a warning is given
> currently, but actions must be taken to fix it when such duplicates
> are detected.
>
> Bug report and a simple fix can be found here:
>
http://bugzilla.kernel.org/show_bug.cgi?id=8798
>
> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
> ---
> fs/proc/generic.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> Index: linux-2.6/fs/proc/generic.c
> ===================================================================
> --- linux-2.6.orig/fs/proc/generic.c
> +++ linux-2.6/fs/proc/generic.c
> @@ -523,6 +523,7 @@ static const struct inode_operations pro
>
> static int proc_register(struct proc_dir_entry * dir, struct
> proc_dir_entry * dp)