From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 15 Jun 2001 06:05:01 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 15 Jun 2001 06:04:51 -0400 Received: from 202-54-39-145.tatainfotech.co.in ([202.54.39.145]:56846 "EHLO brelay.tatainfotech.com") by vger.kernel.org with ESMTP id ; Fri, 15 Jun 2001 06:04:41 -0400 Date: Fri, 15 Jun 2001 15:52:52 +0530 (IST) From: "SATHISH.J" To: linux-kernel@vger.kernel.org Subject: Reg file system hash function In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, In the vfs layer when we see the lookup_dentry() function code we see that a part of the code checks whether low level filesystem wants to use its own hash. the part odf the code that calls the filesystem dependant hashing is "error = base->d_op->d_hash->(base,&this);". Why should it callfilesystem dependant hashing. What is the main purpose of hashing here. Please help me with these details. Thanks in advance, Regards, sathish.j