Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280273
b: refs/heads/master
c: 685dd2d
h: refs/heads/master
i:
  280271: 3a86012
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 3c7256f commit 850ed93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: f69aac0006c303a98da9d2db04b71fd1c600d503
refs/heads/master: 685dd2d5bea3e6368cea8002caf404d1b0b5c9f1
8 changes: 4 additions & 4 deletions trunk/init/initramfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static void __init error(char *x)

static __initdata struct hash {
int ino, minor, major;
mode_t mode;
umode_t mode;
struct hash *next;
char name[N_ALIGN(PATH_MAX)];
} *head[32];
Expand All @@ -35,7 +35,7 @@ static inline int hash(int major, int minor, int ino)
}

static char __init *find_link(int major, int minor, int ino,
mode_t mode, char *name)
umode_t mode, char *name)
{
struct hash **p, *q;
for (p = head + hash(major, minor, ino); *p; p = &(*p)->next) {
Expand Down Expand Up @@ -120,7 +120,7 @@ static __initdata time_t mtime;
/* cpio header parsing */

static __initdata unsigned long ino, major, minor, nlink;
static __initdata mode_t mode;
static __initdata umode_t mode;
static __initdata unsigned long body_len, name_len;
static __initdata uid_t uid;
static __initdata gid_t gid;
Expand Down Expand Up @@ -276,7 +276,7 @@ static int __init maybe_link(void)
return 0;
}

static void __init clean_path(char *path, mode_t mode)
static void __init clean_path(char *path, umode_t mode)
{
struct stat st;

Expand Down

0 comments on commit 850ed93

Please sign in to comment.