[PATCH] convert hugetlbfs_counter to atomic
authorChen, Kenneth W <kenneth.w.chen@intel.com>
Wed, 22 Mar 2006 08:09:02 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:04 +0000 (07:54 -0800)
commitbba1e9b2111b14625f670bd07e57fd7ed57ce804
treefc46b8702597fafde7d1a550dcbc948f173303ad
parent42b88befd6e0dae1a5fe04c03925037fa890e1f3
[PATCH] convert hugetlbfs_counter to atomic

Implementation of hugetlbfs_counter() is functionally equivalent to
atomic_inc_return().  Use the simpler atomic form.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Cc: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/hugetlbfs/inode.c