]> bbs.cooldavid.org Git - net-next-2.6.git/commit
list.h: new helper - hlist_add_fake()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 23 Oct 2010 19:23:40 +0000 (15:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:24:15 +0000 (21:24 -0400)
commit756acc2d61712a8cafe2aa6ad626c60a185d3645
tree72473307f7789b2dafa4b7ca2facc6427f83a283
parent1d3382cbf02986e4833849f528d451367ea0b4cb
list.h: new helper - hlist_add_fake()

Make node look as if it was on hlist, with hlist_del()
working correctly.  Usable without any locking...

Convert a couple of places where we want to do that to
inode->i_hash.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/inode.c
fs/jfs/jfs_imap.c
include/linux/list.h