From: Al Viro Date: Mon, 9 Sep 2013 19:22:25 +0000 (-0400) Subject: split read_seqretry_or_unlock(), convert d_walk() to resulting primitives X-Git-Tag: v3.12-rc1~72^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48f5ec21d9c67e881ff35343988e290ef5cf933f;p=pandora-kernel.git split read_seqretry_or_unlock(), convert d_walk() to resulting primitives Separate "check if we need to retry" from "unlock if we are done and had seq_writelock"; that allows to use these guys in d_walk(), where we need to recheck every time we ascend back to parent, but do *not* want to unlock until the very end. Lift rcu_read_lock/rcu_read_unlock out into callers. Signed-off-by: Al Viro --- Reading git-diff-tree failed