1
0
Files
linux/fs
Davide Libenzi 96fdc72ddf anon-inodes use open coded atomic_inc for the shared inode
Since we know the shared inode count is always >0, we can avoid igrab()
and use an open coded atomic_inc().

This also fixes a bug noticed by Yan Zheng <yanzheng@21cn.com>: were checking
for an IS_ERR() return from igrab(), but it actually returns NULL on error.

Signed-off-by: Davide Libenzi <davidel@xmailserver.org>
Cc: Yan Zheng <yanzheng@21cn.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-17 08:43:00 -07:00
..
2007-10-17 08:42:47 -07:00
2007-10-17 08:42:45 -07:00
2007-10-15 17:56:36 -07:00
2007-10-17 08:42:53 -07:00
2007-10-16 09:43:07 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:53 -07:00
2007-10-17 08:42:54 -07:00
2007-10-17 08:42:45 -07:00
2007-10-17 08:42:45 -07:00
2007-10-16 09:42:53 -07:00
2007-10-17 08:42:56 -07:00
2007-10-17 08:42:48 -07:00
2007-10-10 09:25:57 +02:00
2007-10-16 09:42:54 -07:00
2007-10-17 08:42:52 -07:00
2007-10-17 08:59:31 +10:00
2007-10-15 17:00:19 +02:00
2007-10-17 08:42:52 -07:00