diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2010-12-14 09:57:42 -0500 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-12-16 12:37:24 -0500 |
commit | 7d93bd71cb3e2629cc88bc59f393bd4df4162b94 (patch) | |
tree | 0280f34e564ed29589026845fa2fba49eb7e9d17 /fs/nfs | |
parent | 85a56480191ca9f08fc775c129b9eb5c8c1f2c05 (diff) |
NFS: Repair whitespace damage in NFS PROC macro
Clean up.
When I was making other changes in this area, checkscript.pl
complained about the use of leading blanks in the PROC macros in the
xdr files.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/nfs2xdr.c | 30 | ||||
-rw-r--r-- | fs/nfs/nfs4xdr.c | 90 |
2 files changed, 60 insertions, 60 deletions
diff --git a/fs/nfs/nfs2xdr.c b/fs/nfs/nfs2xdr.c index 70df08a84ead..0343175fe6c0 100644 --- a/fs/nfs/nfs2xdr.c +++ b/fs/nfs/nfs2xdr.c | |||
@@ -1193,21 +1193,21 @@ int nfs_stat_to_errno(enum nfs_stat status) | |||
1193 | .p_name = #proc, \ | 1193 | .p_name = #proc, \ |
1194 | } | 1194 | } |
1195 | struct rpc_procinfo nfs_procedures[] = { | 1195 | struct rpc_procinfo nfs_procedures[] = { |
1196 | PROC(GETATTR, fhandle, attrstat, 1), | 1196 | PROC(GETATTR, fhandle, attrstat, 1), |
1197 | PROC(SETATTR, sattrargs, attrstat, 0), | 1197 | PROC(SETATTR, sattrargs, attrstat, 0), |
1198 | PROC(LOOKUP, diropargs, diropres, 2), | 1198 | PROC(LOOKUP, diropargs, diropres, 2), |
1199 | PROC(READLINK, readlinkargs, readlinkres, 3), | 1199 | PROC(READLINK, readlinkargs, readlinkres, 3), |
1200 | PROC(READ, readargs, readres, 3), | 1200 | PROC(READ, readargs, readres, 3), |
1201 | PROC(WRITE, writeargs, writeres, 4), | 1201 | PROC(WRITE, writeargs, writeres, 4), |
1202 | PROC(CREATE, createargs, diropres, 0), | 1202 | PROC(CREATE, createargs, diropres, 0), |
1203 | PROC(REMOVE, removeargs, stat, 0), | 1203 | PROC(REMOVE, removeargs, stat, 0), |
1204 | PROC(RENAME, renameargs, stat, 0), | 1204 | PROC(RENAME, renameargs, stat, 0), |
1205 | PROC(LINK, linkargs, stat, 0), | 1205 | PROC(LINK, linkargs, stat, 0), |
1206 | PROC(SYMLINK, symlinkargs, stat, 0), | 1206 | PROC(SYMLINK, symlinkargs, stat, 0), |
1207 | PROC(MKDIR, createargs, diropres, 0), | 1207 | PROC(MKDIR, createargs, diropres, 0), |
1208 | PROC(RMDIR, diropargs, stat, 0), | 1208 | PROC(RMDIR, diropargs, stat, 0), |
1209 | PROC(READDIR, readdirargs, readdirres, 3), | 1209 | PROC(READDIR, readdirargs, readdirres, 3), |
1210 | PROC(STATFS, fhandle, statfsres, 0), | 1210 | PROC(STATFS, fhandle, statfsres, 0), |
1211 | }; | 1211 | }; |
1212 | 1212 | ||
1213 | struct rpc_version nfs_version2 = { | 1213 | struct rpc_version nfs_version2 = { |
diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c index 9f1826b012e6..a48a43c75111 100644 --- a/fs/nfs/nfs4xdr.c +++ b/fs/nfs/nfs4xdr.c | |||
@@ -6301,8 +6301,8 @@ nfs4_stat_to_errno(int stat) | |||
6301 | #define PROC(proc, argtype, restype) \ | 6301 | #define PROC(proc, argtype, restype) \ |
6302 | [NFSPROC4_CLNT_##proc] = { \ | 6302 | [NFSPROC4_CLNT_##proc] = { \ |
6303 | .p_proc = NFSPROC4_COMPOUND, \ | 6303 | .p_proc = NFSPROC4_COMPOUND, \ |
6304 | .p_encode = (kxdrproc_t) nfs4_xdr_##argtype, \ | 6304 | .p_encode = (kxdrproc_t)nfs4_xdr_##argtype, \ |
6305 | .p_decode = (kxdrproc_t) nfs4_xdr_##restype, \ | 6305 | .p_decode = (kxdrproc_t)nfs4_xdr_##restype, \ |
6306 | .p_arglen = NFS4_##argtype##_sz, \ | 6306 | .p_arglen = NFS4_##argtype##_sz, \ |
6307 | .p_replen = NFS4_##restype##_sz, \ | 6307 | .p_replen = NFS4_##restype##_sz, \ |
6308 | .p_statidx = NFSPROC4_CLNT_##proc, \ | 6308 | .p_statidx = NFSPROC4_CLNT_##proc, \ |
@@ -6310,50 +6310,50 @@ nfs4_stat_to_errno(int stat) | |||
6310 | } | 6310 | } |
6311 | 6311 | ||
6312 | struct rpc_procinfo nfs4_procedures[] = { | 6312 | struct rpc_procinfo nfs4_procedures[] = { |
6313 | PROC(READ, enc_read, dec_read), | 6313 | PROC(READ, enc_read, dec_read), |
6314 | PROC(WRITE, enc_write, dec_write), | 6314 | PROC(WRITE, enc_write, dec_write), |
6315 | PROC(COMMIT, enc_commit, dec_commit), | 6315 | PROC(COMMIT, enc_commit, dec_commit), |
6316 | PROC(OPEN, enc_open, dec_open), | 6316 | PROC(OPEN, enc_open, dec_open), |
6317 | PROC(OPEN_CONFIRM, enc_open_confirm, dec_open_confirm), | 6317 | PROC(OPEN_CONFIRM, enc_open_confirm, dec_open_confirm), |
6318 | PROC(OPEN_NOATTR, enc_open_noattr, dec_open_noattr), | 6318 | PROC(OPEN_NOATTR, enc_open_noattr, dec_open_noattr), |
6319 | PROC(OPEN_DOWNGRADE, enc_open_downgrade, dec_open_downgrade), | 6319 | PROC(OPEN_DOWNGRADE, enc_open_downgrade, dec_open_downgrade), |
6320 | PROC(CLOSE, enc_close, dec_close), | 6320 | PROC(CLOSE, enc_close, dec_close), |
6321 | PROC(SETATTR, enc_setattr, dec_setattr), | 6321 | PROC(SETATTR, enc_setattr, dec_setattr), |
6322 | PROC(FSINFO, enc_fsinfo, dec_fsinfo), | 6322 | PROC(FSINFO, enc_fsinfo, dec_fsinfo), |
6323 | PROC(RENEW, enc_renew, dec_renew), | 6323 | PROC(RENEW, enc_renew, dec_renew), |
6324 | PROC(SETCLIENTID, enc_setclientid, dec_setclientid), | 6324 | PROC(SETCLIENTID, enc_setclientid, dec_setclientid), |
6325 | PROC(SETCLIENTID_CONFIRM, enc_setclientid_confirm, dec_setclientid_confirm), | 6325 | PROC(SETCLIENTID_CONFIRM, enc_setclientid_confirm, dec_setclientid_confirm), |
6326 | PROC(LOCK, enc_lock, dec_lock), | 6326 | PROC(LOCK, enc_lock, dec_lock), |
6327 | PROC(LOCKT, enc_lockt, dec_lockt), | 6327 | PROC(LOCKT, enc_lockt, dec_lockt), |
6328 | PROC(LOCKU, enc_locku, dec_locku), | 6328 | PROC(LOCKU, enc_locku, dec_locku), |
6329 | PROC(ACCESS, enc_access, dec_access), | 6329 | PROC(ACCESS, enc_access, dec_access), |
6330 | PROC(GETATTR, enc_getattr, dec_getattr), | 6330 | PROC(GETATTR, enc_getattr, dec_getattr), |
6331 | PROC(LOOKUP, enc_lookup, dec_lookup), | 6331 | PROC(LOOKUP, enc_lookup, dec_lookup), |
6332 | PROC(LOOKUP_ROOT, enc_lookup_root, dec_lookup_root), | 6332 | PROC(LOOKUP_ROOT, enc_lookup_root, dec_lookup_root), |
6333 | PROC(REMOVE, enc_remove, dec_remove), | 6333 | PROC(REMOVE, enc_remove, dec_remove), |
6334 | PROC(RENAME, enc_rename, dec_rename), | 6334 | PROC(RENAME, enc_rename, dec_rename), |
6335 | PROC(LINK, enc_link, dec_link), | 6335 | PROC(LINK, enc_link, dec_link), |
6336 | PROC(SYMLINK, enc_symlink, dec_symlink), | 6336 | PROC(SYMLINK, enc_symlink, dec_symlink), |
6337 | PROC(CREATE, enc_create, dec_create), | 6337 | PROC(CREATE, enc_create, dec_create), |
6338 | PROC(PATHCONF, enc_pathconf, dec_pathconf), | 6338 | PROC(PATHCONF, enc_pathconf, dec_pathconf), |
6339 | PROC(STATFS, enc_statfs, dec_statfs), | 6339 | PROC(STATFS, enc_statfs, dec_statfs), |
6340 | PROC(READLINK, enc_readlink, dec_readlink), | 6340 | PROC(READLINK, enc_readlink, dec_readlink), |
6341 | PROC(READDIR, enc_readdir, dec_readdir), | 6341 | PROC(READDIR, enc_readdir, dec_readdir), |
6342 | PROC(SERVER_CAPS, enc_server_caps, dec_server_caps), | 6342 | PROC(SERVER_CAPS, enc_server_caps, dec_server_caps), |
6343 | PROC(DELEGRETURN, enc_delegreturn, dec_delegreturn), | 6343 | PROC(DELEGRETURN, enc_delegreturn, dec_delegreturn), |
6344 | PROC(GETACL, enc_getacl, dec_getacl), | 6344 | PROC(GETACL, enc_getacl, dec_getacl), |
6345 | PROC(SETACL, enc_setacl, dec_setacl), | 6345 | PROC(SETACL, enc_setacl, dec_setacl), |
6346 | PROC(FS_LOCATIONS, enc_fs_locations, dec_fs_locations), | 6346 | PROC(FS_LOCATIONS, enc_fs_locations, dec_fs_locations), |
6347 | PROC(RELEASE_LOCKOWNER, enc_release_lockowner, dec_release_lockowner), | 6347 | PROC(RELEASE_LOCKOWNER, enc_release_lockowner, dec_release_lockowner), |
6348 | #if defined(CONFIG_NFS_V4_1) | 6348 | #if defined(CONFIG_NFS_V4_1) |
6349 | PROC(EXCHANGE_ID, enc_exchange_id, dec_exchange_id), | 6349 | PROC(EXCHANGE_ID, enc_exchange_id, dec_exchange_id), |
6350 | PROC(CREATE_SESSION, enc_create_session, dec_create_session), | 6350 | PROC(CREATE_SESSION, enc_create_session, dec_create_session), |
6351 | PROC(DESTROY_SESSION, enc_destroy_session, dec_destroy_session), | 6351 | PROC(DESTROY_SESSION, enc_destroy_session, dec_destroy_session), |
6352 | PROC(SEQUENCE, enc_sequence, dec_sequence), | 6352 | PROC(SEQUENCE, enc_sequence, dec_sequence), |
6353 | PROC(GET_LEASE_TIME, enc_get_lease_time, dec_get_lease_time), | 6353 | PROC(GET_LEASE_TIME, enc_get_lease_time, dec_get_lease_time), |
6354 | PROC(RECLAIM_COMPLETE, enc_reclaim_complete, dec_reclaim_complete), | 6354 | PROC(RECLAIM_COMPLETE, enc_reclaim_complete, dec_reclaim_complete), |
6355 | PROC(GETDEVICEINFO, enc_getdeviceinfo, dec_getdeviceinfo), | 6355 | PROC(GETDEVICEINFO, enc_getdeviceinfo, dec_getdeviceinfo), |
6356 | PROC(LAYOUTGET, enc_layoutget, dec_layoutget), | 6356 | PROC(LAYOUTGET, enc_layoutget, dec_layoutget), |
6357 | #endif /* CONFIG_NFS_V4_1 */ | 6357 | #endif /* CONFIG_NFS_V4_1 */ |
6358 | }; | 6358 | }; |
6359 | 6359 | ||