projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI: netlink: remove unnecessary EXPORT_SYMBOL
[powerpc.git]
/
fs
/
ext3
/
ioctl.c
diff --git
a/fs/ext3/ioctl.c
b/fs/ext3/ioctl.c
index
12daa68
..
965006d
100644
(file)
--- a/
fs/ext3/ioctl.c
+++ b/
fs/ext3/ioctl.c
@@
-28,6
+28,7
@@
int ext3_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
switch (cmd) {
case EXT3_IOC_GETFLAGS:
switch (cmd) {
case EXT3_IOC_GETFLAGS:
+ ext3_get_inode_flags(ei);
flags = ei->i_flags & EXT3_FL_USER_VISIBLE;
return put_user(flags, (int __user *) arg);
case EXT3_IOC_SETFLAGS: {
flags = ei->i_flags & EXT3_FL_USER_VISIBLE;
return put_user(flags, (int __user *) arg);
case EXT3_IOC_SETFLAGS: {
@@
-257,7
+258,7
@@
flags_err:
#ifdef CONFIG_COMPAT
long ext3_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
#ifdef CONFIG_COMPAT
long ext3_compat_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{
- struct inode *inode = file->f_dentry->d_inode;
+ struct inode *inode = file->f_
path.
dentry->d_inode;
int ret;
/* These are just misnamed, they actually get/put from/to user an int */
int ret;
/* These are just misnamed, they actually get/put from/to user an int */