diff options
author | Jeff Layton <[email protected]> | 2010-10-15 15:34:06 -0400 |
---|---|---|
committer | Steve French <[email protected]> | 2010-10-25 00:18:59 +0000 |
commit | 5f6dbc9e4afe4d1d39e85de3ac2720a2042ad191 (patch) | |
tree | 8e97fe18b6d0824981fd377b2ff35042da264bb4 /net/unix/sysctl_net_unix.c | |
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 <[email protected]>
Reviewed-by: Suresh Jayaraman <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions