[PATCH 05/20] afs: Implement @sys substitution handling

David Howells dhowells at redhat.com
Fri Apr 6 01:13:03 PDT 2018


Al Viro <viro at ZenIV.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



More information about the linux-afs mailing list