Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97569
b: refs/heads/master
c: 1d92cfd
h: refs/heads/master
i:
  97567: 56a6929
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 4, 2008
1 parent 624ea91 commit 0ffbdbd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6399e7acbf9193c7d48827329ca592a1c8dc9e69
refs/heads/master: 1d92cfd54a51ff1b9593019fdde56793b66ba6a9
6 changes: 3 additions & 3 deletions trunk/fs/cifs/cifssmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -3927,9 +3927,9 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
}

ref = (struct dfs_referral_level_3 *) &(pSMBr->referrals);
if (ref->VersionNumber != 3) {
if (ref->VersionNumber != cpu_to_le16(3)) {
cERROR(1, ("Referrals of V%d version are not supported,"
"should be V3", ref->VersionNumber));
"should be V3", le16_to_cpu(ref->VersionNumber)));
rc = -EINVAL;
goto parse_DFS_referrals_exit;
}
Expand Down Expand Up @@ -3977,7 +3977,7 @@ parse_DFS_referrals(TRANSACTION2_GET_DFS_REFER_RSP *pSMBr,
if (rc)
goto parse_DFS_referrals_exit;

ref += ref->Size;
ref += le16_to_cpu(ref->Size);
}

parse_DFS_referrals_exit:
Expand Down

0 comments on commit 0ffbdbd

Please sign in to comment.