Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280234
b: refs/heads/master
c: 587228b
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent 14cca53 commit e87e8b5
Show file tree
Hide file tree
Showing 4 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: 8e0718924e7d7eaf6104e54aeaeda477570e1e06
refs/heads/master: 587228be4a43c28c402c1cc8a5f185252d8e2231
2 changes: 1 addition & 1 deletion trunk/fs/omfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ static int omfs_remove(struct inode *dir, struct dentry *dentry)
return 0;
}

static int omfs_add_node(struct inode *dir, struct dentry *dentry, int mode)
static int omfs_add_node(struct inode *dir, struct dentry *dentry, umode_t mode)
{
int err;
struct inode *inode = omfs_new_inode(dir, mode);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/omfs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct buffer_head *omfs_bread(struct super_block *sb, sector_t block)
return sb_bread(sb, clus_to_blk(sbi, block));
}

struct inode *omfs_new_inode(struct inode *dir, int mode)
struct inode *omfs_new_inode(struct inode *dir, umode_t mode)
{
struct inode *inode;
u64 new_block;
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/omfs/omfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ extern int omfs_shrink_inode(struct inode *inode);
/* inode.c */
extern struct buffer_head *omfs_bread(struct super_block *sb, sector_t block);
extern struct inode *omfs_iget(struct super_block *sb, ino_t inode);
extern struct inode *omfs_new_inode(struct inode *dir, int mode);
extern struct inode *omfs_new_inode(struct inode *dir, umode_t mode);
extern int omfs_reserve_block(struct super_block *sb, sector_t block);
extern int omfs_find_empty_block(struct super_block *sb, int mode, ino_t *ino);
extern int omfs_sync_inode(struct inode *inode);
Expand Down

0 comments on commit e87e8b5

Please sign in to comment.