lockless get_write_access/deny_write_access
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:52:57 +0000 (10:52 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:14 +0000 (01:43 -0400)
commit07b8ce1ee87d291ff564c02cf878fae973317a52
tree94f07ed2b5d18aef71f1b28193375f88c0c947bc
parentf4d6ff89d8e54b68a4322388d26d518d6133fa4e
lockless get_write_access/deny_write_access

new helpers: atomic_inc_unless_negative()/atomic_dec_unless_positive()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namei.c
include/linux/atomic.h
include/linux/fs.h