From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?Iua9mOWNq+W5syhQZXRlciBQYW4pIg==?= Subject: question about ext2_find_shared Date: Mon, 28 Jun 2010 21:19:12 +0800 Message-ID: <4C28A150.7020807@redflag-linux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail.redflag-linux.com ([219.237.229.196]:55250 "EHLO mail.redflag-linux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751608Ab0F1N5l (ORCPT ); Mon, 28 Jun 2010 09:57:41 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.redflag-linux.com (redflag-mail - by redflag-linux.com) with ESMTP id 2ACFB137915 for ; Mon, 28 Jun 2010 21:22:03 +0800 (CST) Received: from mail.redflag-linux.com ([127.0.0.1]) by localhost (mail.redflag-linux.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSxVsKHMzkNg for ; Mon, 28 Jun 2010 21:22:03 +0800 (CST) Received: from localhost.localdomain (fsc.iscas.ac.cn [124.16.138.2]) by mail.redflag-linux.com (redflag-mail - by redflag-linux.com) with ESMTP id EE7A31378E7 for ; Mon, 28 Jun 2010 21:22:02 +0800 (CST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hi, all the function ext2_find_shared is located fs/ext2/inode.c 935 I see ext2_find_shared is related with truncation, but i don't know what's the use of it. And i am also confused with the implementation of ext2_find_shared. It would be greatly appreciated if somebody can show me what's the use of ext2_find_shared and how it works. Regards -- Peter Pan Red Flag Software Co.,Ltd