diff options
author | Jeff Layton <jlayton@redhat.com> | 2011-01-07 11:30:28 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-09 23:39:12 +0000 |
commit | 1397f2ee4be65542fdc3460c7e8b6317779ea680 (patch) | |
tree | 77e0946defb1ea1b52b166ab46d21c07d04dac22 /fs/cifs/cifssmb.c | |
parent | a0f8b4fb4cab4bc32caaf34fc0a0c9d5dd369186 (diff) |
cifs: replace some hardcoded values with preprocessor constants
A number of places that deal with RFC1001/1002 negotiations have bare
"15" or "16" values. Replace them with RFC_1001_NAME_LEN and
RFC_1001_NAME_LEN_WITH_NULL.
The patch also cleans up some checkpatch warnings for code surrounding
the changes. This should apply cleanly on top of the patch to remove
Local_System_Name.
Reported-and-Reviwed-by: Shirish Pargaonkar <shirishpargaonkar@gmail.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifssmb.c')
0 files changed, 0 insertions, 0 deletions