[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22389.1523002383@warthog.procyon.org.uk>
Date: Fri, 06 Apr 2018 09:13:03 +0100
From: David Howells <dhowells@...hat.com>
To: Al Viro <viro@...IV.linux.org.uk>
Cc: dhowells@...hat.com, torvalds@...ux-foundation.org,
linux-fsdevel@...r.kernel.org, linux-afs@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 05/20] afs: Implement @sys substitution handling
Al Viro <viro@...IV.linux.org.uk> 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
Powered by blists - more mailing lists