Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280246
b: refs/heads/master
c: bef41c2
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent a464111 commit 438a301
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: c6e49e3f266dbe62773941dca8afa65f53b5415f
refs/heads/master: bef41c267e2b903f411c0f56236027f68553b721
2 changes: 1 addition & 1 deletion trunk/fs/exofs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ static unsigned char exofs_type_by_mode[S_IFMT >> S_SHIFT] = {
static inline
void exofs_set_de_type(struct exofs_dir_entry *de, struct inode *inode)
{
mode_t mode = inode->i_mode;
umode_t mode = inode->i_mode;
de->file_type = exofs_type_by_mode[(mode & S_IFMT) >> S_SHIFT];
}

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/exofs/exofs.h
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ int exofs_write_begin(struct file *file, struct address_space *mapping,
loff_t pos, unsigned len, unsigned flags,
struct page **pagep, void **fsdata);
extern struct inode *exofs_iget(struct super_block *, unsigned long);
struct inode *exofs_new_inode(struct inode *, int);
struct inode *exofs_new_inode(struct inode *, umode_t);
extern int exofs_write_inode(struct inode *, struct writeback_control *wbc);
extern void exofs_evict_inode(struct inode *);

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/exofs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ static void create_done(struct ore_io_state *ios, void *p)
/*
* Set up a new inode and create an object for it on the OSD
*/
struct inode *exofs_new_inode(struct inode *dir, int mode)
struct inode *exofs_new_inode(struct inode *dir, umode_t mode)
{
struct super_block *sb = dir->i_sb;
struct exofs_sb_info *sbi = sb->s_fs_info;
Expand Down

0 comments on commit 438a301

Please sign in to comment.