git://git.onelab.eu
/
linux-2.6.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a47bbfb
)
- merge revision 1.2
author
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 Nov 2004 16:45:53 +0000
(16:45 +0000)
committer
Mark Huang
<mlhuang@cs.princeton.edu>
Tue, 30 Nov 2004 16:45:53 +0000
(16:45 +0000)
date: 2004/11/18 20:06:31; author: smuir; state: Exp; lines: +8 -1
Need a way to manipulate vserver file attrs using a file descriptor
include/linux/vserver/inode.h
patch
|
blob
|
history
diff --git
a/include/linux/vserver/inode.h
b/include/linux/vserver/inode.h
index
fc49aba
..
e19632d
100644
(file)
--- a/
include/linux/vserver/inode.h
+++ b/
include/linux/vserver/inode.h
@@
-57,6
+57,10
@@
extern int vc_set_iattr_v0(uint32_t, void __user *);
extern int vc_get_iattr(uint32_t, void __user *);
extern int vc_set_iattr(uint32_t, void __user *);
+extern int vc_iattr_ioctl(struct dentry *de,
+ unsigned int cmd,
+ unsigned long arg);
+
#endif /* __KERNEL__ */
/* inode ioctls */
@@
-64,4
+68,7
@@
extern int vc_set_iattr(uint32_t, void __user *);
#define FIOC_GETXFLG _IOR('x', 5, long)
#define FIOC_SETXFLG _IOW('x', 6, long)
+#define FIOC_GETIATTR _IOR('x', 7, long)
+#define FIOC_SETIATTR _IOR('x', 8, long)
+
#endif /* _VX_INODE_H */