Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 293925
b: refs/heads/master
c: f7493e5
h: refs/heads/master
i:
  293923: 2e3feb8
v: v3
  • Loading branch information
Linus Torvalds committed Mar 22, 2012
1 parent c172824 commit 057d051
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: 989412bbd2835f1475d1528846693eddbac744c8
refs/heads/master: f7493e5d9cc10ac97cf1f1579fdc14117460b40b
6 changes: 3 additions & 3 deletions trunk/fs/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static char *getname_flags(const char __user *filename, int flags, int *empty)

char *getname(const char __user * filename)
{
return getname_flags(filename, 0, 0);
return getname_flags(filename, 0, NULL);
}

#ifdef CONFIG_AUDITSYSCALL
Expand Down Expand Up @@ -1408,7 +1408,7 @@ static inline int can_lookup(struct inode *inode)
*/
static inline long count_masked_bytes(unsigned long mask)
{
return mask*0x0001020304050608 >> 56;
return mask*0x0001020304050608ul >> 56;
}

static inline unsigned int fold_hash(unsigned long hash)
Expand Down Expand Up @@ -1972,7 +1972,7 @@ int user_path_at_empty(int dfd, const char __user *name, unsigned flags,
int user_path_at(int dfd, const char __user *name, unsigned flags,
struct path *path)
{
return user_path_at_empty(dfd, name, flags, path, 0);
return user_path_at_empty(dfd, name, flags, path, NULL);
}

static int user_path_parent(int dfd, const char __user *path,
Expand Down

0 comments on commit 057d051

Please sign in to comment.