summaryrefslogtreecommitdiffstats
path: root/fs/jfs/jfs_metapage.h
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2008-08-02 08:00:48 -0400
committerSteve French <sfrench@us.ibm.com>2008-08-04 02:02:15 +0000
commit93d0ec851820688ef5b21a84e7460d3cf405f5c5 (patch)
tree280b8e8ba981f77422e63c9223137e3a24ab98f0 /fs/jfs/jfs_metapage.h
parent66b8bd3c405389213de1d6ba6c2565990f62004f (diff)
downloadlinux-93d0ec851820688ef5b21a84e7460d3cf405f5c5.tar.bz2
remove locking around tcpSesAllocCount atomic variable
The global tcpSesAllocCount variable is an atomic already and doesn't really need the extra locking around it. Remove the locking and just use the atomic_inc_return and atomic_dec_return functions to make sure we access it correctly. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/jfs/jfs_metapage.h')
0 files changed, 0 insertions, 0 deletions