git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
fs
/
cifs
/
ioctl.c
diff --git
a/fs/cifs/ioctl.c
b/fs/cifs/ioctl.c
index
b0ea668
..
e34c7db
100644
(file)
--- a/
fs/cifs/ioctl.c
+++ b/
fs/cifs/ioctl.c
@@
-22,7
+22,6
@@
*/
#include <linux/fs.h>
*/
#include <linux/fs.h>
-#include <linux/ext2_fs.h>
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
#include "cifspdu.h"
#include "cifsglob.h"
#include "cifsproto.h"
@@
-74,7
+73,7
@@
int cifs_ioctl (struct inode * inode, struct file * filep,
}
break;
#ifdef CONFIG_CIFS_POSIX
}
break;
#ifdef CONFIG_CIFS_POSIX
- case
EXT2
_IOC_GETFLAGS:
+ case
FS
_IOC_GETFLAGS:
if(CIFS_UNIX_EXTATTR_CAP & caps) {
if (pSMBFile == NULL)
break;
if(CIFS_UNIX_EXTATTR_CAP & caps) {
if (pSMBFile == NULL)
break;
@@
-82,12
+81,12
@@
int cifs_ioctl (struct inode * inode, struct file * filep,
&ExtAttrBits, &ExtAttrMask);
if(rc == 0)
rc = put_user(ExtAttrBits &
&ExtAttrBits, &ExtAttrMask);
if(rc == 0)
rc = put_user(ExtAttrBits &
-
EXT2
_FL_USER_VISIBLE,
+
FS
_FL_USER_VISIBLE,
(int __user *)arg);
}
break;
(int __user *)arg);
}
break;
- case
EXT2
_IOC_SETFLAGS:
+ case
FS
_IOC_SETFLAGS:
if(CIFS_UNIX_EXTATTR_CAP & caps) {
if(get_user(ExtAttrBits,(int __user *)arg)) {
rc = -EFAULT;
if(CIFS_UNIX_EXTATTR_CAP & caps) {
if(get_user(ExtAttrBits,(int __user *)arg)) {
rc = -EFAULT;