summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-09-09 15:22:25 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-09-09 15:22:25 -0400
commit48f5ec21d9c67e881ff35343988e290ef5cf933f (patch)
tree515af9f0288fbdee85f2ba1fdc2d20e088a1fb17 /kernel
parent232d2d60aa5469bb097f55728f65146bd49c1d25 (diff)
downloadop-kernel-dev-48f5ec21d9c67e881ff35343988e290ef5cf933f.zip
op-kernel-dev-48f5ec21d9c67e881ff35343988e290ef5cf933f.tar.gz
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 <viro@zeniv.linux.org.uk>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud