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:
e1461ce
)
Fix comment
author
Steve Muir
<smuir@cs.princeton.edu>
Tue, 23 Nov 2004 15:00:18 +0000
(15:00 +0000)
committer
Steve Muir
<smuir@cs.princeton.edu>
Tue, 23 Nov 2004 15:00:18 +0000
(15:00 +0000)
kernel/vserver/inode.c
patch
|
blob
|
history
diff --git
a/kernel/vserver/inode.c
b/kernel/vserver/inode.c
index
d28749b
..
3e8120b
100644
(file)
--- a/
kernel/vserver/inode.c
+++ b/
kernel/vserver/inode.c
@@
-178,8
+178,8
@@
int vc_iattr_ioctl(struct dentry *de, unsigned int cmd, unsigned long arg)
/*
* I don't think we need any dget/dput pairs in here as long as
- * this function is always called from sys_ioctl i.e.,
the big
-
* kernel lock is hel
d.
+ * this function is always called from sys_ioctl i.e.,
de is
+
* a field of a struct file that is guaranteed not to be free
d.
*/
if (cmd == FIOC_SETIATTR) {
if (!capable(CAP_SYS_ADMIN) || !capable(CAP_LINUX_IMMUTABLE))