From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mohit Katiyar" Subject: Getattr calls Date: Fri, 13 Oct 2006 18:53:21 +0900 Message-ID: <46465bb30610130253s70329a74m4bc58c78a8ca7b7e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from nf-out-0910.google.com ([64.233.182.191]:42710 "EHLO nf-out-0910.google.com") by vger.kernel.org with ESMTP id S1751059AbWJMJxW (ORCPT ); Fri, 13 Oct 2006 05:53:22 -0400 Received: by nf-out-0910.google.com with SMTP id x30so898750nfb for ; Fri, 13 Oct 2006 02:53:21 -0700 (PDT) To: linux-fsdevel@vger.kernel.org Content-Disposition: inline Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Hi, I have just shifted from using linux-2.6.5 to 2.6.16 and I am seeing a change in mounting operation. I have created a dummy file-system, put some printk in getattr method of this file system. Using 2.6.16 kernel I do the following steps 1) First I mount my dummy filesystem mount -t rkfs none ../rkfs/rkfsmnt 2) Then I mounted a partition from different machine though nfs. mount -t nfs 10.112.4.168:/home/guest /mnt/nfs Now /var/log/messages show that rkfs(dummy filesystem) getattr has been called while mounting the nfs partition. Is it a normal behaviour?? If it is then why it does not happen in 2.6.5 kernel? Can anyone help me find out where and in which part of the kernel the changes has been made to show such behaviour?? TIA Mohit Katiyar