Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280243
b: refs/heads/master
c: a760b03
h: refs/heads/master
i:
  280241: afc55ec
  280239: 0a91efc
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 4fb4891 commit 3e5f2b1
Show file tree
Hide file tree
Showing 3 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: a5e7ed3287e45f2eafbcf9e7e6fdc5a0191acf40
refs/heads/master: a760b03dc0ac4c9663577ca45de5e0fe1c35dc13
2 changes: 1 addition & 1 deletion trunk/fs/affs/affs.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ extern int affs_remove_header(struct dentry *dentry);
extern u32 affs_checksum_block(struct super_block *sb, struct buffer_head *bh);
extern void affs_fix_checksum(struct super_block *sb, struct buffer_head *bh);
extern void secs_to_datestamp(time_t secs, struct affs_date *ds);
extern mode_t prot_to_mode(u32 prot);
extern umode_t prot_to_mode(u32 prot);
extern void mode_to_prot(struct inode *inode);
extern void affs_error(struct super_block *sb, const char *function, const char *fmt, ...);
extern void affs_warning(struct super_block *sb, const char *function, const char *fmt, ...);
Expand Down
6 changes: 3 additions & 3 deletions trunk/fs/affs/amigaffs.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,10 @@ secs_to_datestamp(time_t secs, struct affs_date *ds)
ds->ticks = cpu_to_be32(secs * 50);
}

mode_t
umode_t
prot_to_mode(u32 prot)
{
int mode = 0;
umode_t mode = 0;

if (!(prot & FIBF_NOWRITE))
mode |= S_IWUSR;
Expand Down Expand Up @@ -421,7 +421,7 @@ void
mode_to_prot(struct inode *inode)
{
u32 prot = AFFS_I(inode)->i_protect;
mode_t mode = inode->i_mode;
umode_t mode = inode->i_mode;

if (!(mode & S_IXUSR))
prot |= FIBF_NOEXECUTE;
Expand Down

0 comments on commit 3e5f2b1

Please sign in to comment.