From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59758 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751344AbeDFINF (ORCPT ); Fri, 6 Apr 2018 04:13:05 -0400 From: David Howells In-Reply-To: <20180406065118.GZ30522@ZenIV.linux.org.uk> References: <20180406065118.GZ30522@ZenIV.linux.org.uk> <152296016916.31027.8912809030401942390.stgit@warthog.procyon.org.uk> <152296020457.31027.11109314533967989357.stgit@warthog.procyon.org.uk> To: Al Viro Cc: dhowells@redhat.com, torvalds@linux-foundation.org, linux-fsdevel@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/20] afs: Implement @sys substitution handling MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22388.1523002383.1@warthog.procyon.org.uk> Date: Fri, 06 Apr 2018 09:13:03 +0100 Message-ID: <22389.1523002383@warthog.procyon.org.uk> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Al Viro wrote: > lookup_one_len() seriously depends upon exclusive lock In the code it says: WARN_ON_ONCE(!inode_is_locked(base->d_inode)); which checks i_rwsem, but in the banner comment it says: * The caller must hold base->i_mutex. is one of these wrong? David