Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106443
b: refs/heads/master
c: 0533400
h: refs/heads/master
i:
  106441: fd3cd52
  106439: bdf5d11
v: v3
  • Loading branch information
Stoyan Gaydarov authored and David Woodhouse committed Jul 11, 2008
1 parent d8a8cea commit a030c17
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 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: 36560d255b017dbcaefbf0f8fee7ad4dd1f0fe0a
refs/heads/master: 0533400b7813df6c22a171499434d30bd57e799c
2 changes: 1 addition & 1 deletion trunk/fs/jffs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const struct file_operations jffs2_dir_operations =
{
.read = generic_read_dir,
.readdir = jffs2_readdir,
.ioctl = jffs2_ioctl,
.unlocked_ioctl=jffs2_ioctl,
.fsync = jffs2_fsync
};

Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/jffs2/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const struct file_operations jffs2_file_operations =
.aio_read = generic_file_aio_read,
.write = do_sync_write,
.aio_write = generic_file_aio_write,
.ioctl = jffs2_ioctl,
.unlocked_ioctl=jffs2_ioctl,
.mmap = generic_file_readonly_mmap,
.fsync = jffs2_fsync,
.splice_read = generic_file_splice_read,
Expand Down
3 changes: 1 addition & 2 deletions trunk/fs/jffs2/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
#include <linux/fs.h>
#include "nodelist.h"

int jffs2_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
unsigned long arg)
long jffs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{
/* Later, this will provide for lsattr.jffs2 and chattr.jffs2, which
will include compression support etc. */
Expand Down
2 changes: 1 addition & 1 deletion trunk/fs/jffs2/os-linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ int jffs2_fsync(struct file *, struct dentry *, int);
int jffs2_do_readpage_unlock (struct inode *inode, struct page *pg);

/* ioctl.c */
int jffs2_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
long jffs2_ioctl(struct file *, unsigned int, unsigned long);

/* symlink.c */
extern const struct inode_operations jffs2_symlink_inode_operations;
Expand Down

0 comments on commit a030c17

Please sign in to comment.