commit | 5f6dbc9e4afe4d1d39e85de3ac2720a2042ad191 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri Oct 15 15:34:06 2010 -0400 |
committer | Steve French <sfrench@us.ibm.com> | Mon Oct 25 00:18:59 2010 +0000 |
tree | 8e97fe18b6d0824981fd377b2ff35042da264bb4 | |
parent | 229aebb873e29726b91e076161649cf45154b0bf [diff] |
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 <jlayton@redhat.com> Reviewed-by: Suresh Jayaraman <sjayaraman@suse.de> Signed-off-by: Steve French <sfrench@us.ibm.com>