From: Trond Myklebust Subject: Further query about locks_remove_posix()... Date: Wed, 19 Nov 2003 14:34:17 -0500 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <16315.50617.410957.360925@charged.uio.no> Reply-To: trond.myklebust@fys.uio.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from pat.uio.no ([129.240.130.16]:32486 "EHLO pat.uio.no") by vger.kernel.org with ESMTP id S264024AbTKSTeU (ORCPT ); Wed, 19 Nov 2003 14:34:20 -0500 To: Linux Kernel , Linux FSdevel List-Id: linux-fsdevel.vger.kernel.org Does anybody know why this function is checking fl->fl_owner instead of using the posix_same_owner() test (which also checks fl->fl_pid)? In the case of CLONE_FILES, there is a significant difference between the two. Note: this question applies to both 2.4.x and 2.6.x... Cheers, Trond