From: Jeff Layton Date: Fri, 15 Oct 2010 19:34:06 +0000 (-0400) Subject: cifs: convert cifsFileInfo->count to non-atomic counter X-Git-Tag: v2.6.37-rc1~39^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f6dbc9e4afe4d1d39e85de3ac2720a2042ad191;p=pandora-kernel.git cifs: convert cifsFileInfo->count to non-atomic counter The count for cifsFileInfo is currently an atomic, but that just adds complexity for little value. We generally need to hold cifs_file_list_lock to traverse the lists anyway so we might as well make this counter non-atomic and simply use the cifs_file_list_lock to protect it. Signed-off-by: Jeff Layton Reviewed-by: Suresh Jayaraman Signed-off-by: Steve French --- Reading git-diff-tree failed