Skip to content

Commit

Permalink
NFSD: Path name length signage in nfsd request argument structures
Browse files Browse the repository at this point in the history
Clean up: For consistency, store the length of path name strings in nfsd
argument structures as unsigned integers.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Acked-By: NeilBrown <neilb@suse.de>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
  • Loading branch information
Chuck Lever authored and J. Bruce Fields committed Feb 1, 2008
1 parent a628f66 commit 48b4ba3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/linux/nfsd/xdr.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct nfsd_symlinkargs {
char * fname;
unsigned int flen;
char * tname;
int tlen;
unsigned int tlen;
struct iattr attrs;
};

Expand Down
2 changes: 1 addition & 1 deletion include/linux/nfsd/xdr3.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct nfsd3_symlinkargs {
char * fname;
unsigned int flen;
char * tname;
int tlen;
unsigned int tlen;
struct iattr attrs;
};

Expand Down

0 comments on commit 48b4ba3

Please sign in to comment.