Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280248
b: refs/heads/master
c: 5eee25c
h: refs/heads/master
v: v3
  • Loading branch information
Al Viro committed Jan 4, 2012
1 parent f6bbc1b commit 0800404
Show file tree
Hide file tree
Showing 4 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: 18df22524202ebd3416f391393e5aa986a31dc9d
refs/heads/master: 5eee25cacde61c37f1545a33d7fed88b14349976
4 changes: 2 additions & 2 deletions trunk/fs/ncpfs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ static int ncp_instantiate(struct inode *dir, struct dentry *dentry,
goto out;
}

int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode,
int ncp_create_new(struct inode *dir, struct dentry *dentry, umode_t mode,
dev_t rdev, __le32 attributes)
{
struct ncp_server *server = NCP_SERVER(dir);
Expand All @@ -928,7 +928,7 @@ int ncp_create_new(struct inode *dir, struct dentry *dentry, int mode,
int opmode;
__u8 __name[NCP_MAXPATHLEN + 1];

PPRINTK("ncp_create_new: creating %s/%s, mode=%x\n",
PPRINTK("ncp_create_new: creating %s/%s, mode=%hx\n",
dentry->d_parent->d_name.name, dentry->d_name.name, mode);

ncp_age_dentry(server, dentry);
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ncpfs/ncplib_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ int ncp_dirhandle_alloc(struct ncp_server *, __u8 vol, __le32 dirent, __u8 *dirh
int ncp_dirhandle_free(struct ncp_server *, __u8 dirhandle);

int ncp_create_new(struct inode *dir, struct dentry *dentry,
int mode, dev_t rdev, __le32 attributes);
umode_t mode, dev_t rdev, __le32 attributes);

static inline int ncp_is_nfs_extras(struct ncp_server* server, unsigned int volnum) {
#ifdef CONFIG_NCPFS_NFS_NS
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/ncpfs/symlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ int ncp_symlink(struct inode *dir, struct dentry *dentry, const char *symname) {
char *rawlink;
int length, err, i, outlen;
int kludge;
int mode;
umode_t mode;
__le32 attr;
unsigned int hdr;

Expand Down

0 comments on commit 0800404

Please sign in to comment.