Skip to content

Commit

Permalink
cifs: fix misannotations
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Mar 30, 2008
1 parent 7d61c45 commit 2b210ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/cifs/cifsacl.c
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ static void mode_to_access_flags(umode_t mode, umode_t bits_to_use,
return;
}

static __le16 fill_ace_for_sid(struct cifs_ace *pntace,
static __u16 fill_ace_for_sid(struct cifs_ace *pntace,
const struct cifs_sid *psid, __u64 nmode, umode_t bits)
{
int i;
Expand Down Expand Up @@ -411,7 +411,7 @@ static void parse_dacl(struct cifs_acl *pdacl, char *end_of_acl,
static int set_chmod_dacl(struct cifs_acl *pndacl, struct cifs_sid *pownersid,
struct cifs_sid *pgrpsid, __u64 nmode)
{
__le16 size = 0;
u16 size = 0;
struct cifs_acl *pnndacl;

pnndacl = (struct cifs_acl *)((char *)pndacl + sizeof(struct cifs_acl));
Expand Down

0 comments on commit 2b210ad

Please sign in to comment.