From: Steve Muir Date: Tue, 23 Nov 2004 15:00:18 +0000 (+0000) Subject: Fix comment X-Git-Tag: before-enable-kexec-patch~10 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3e56d13a0a43014b090b46fe95038892a8ee6fcc;p=linux-2.6.git Fix comment --- diff --git a/kernel/vserver/inode.c b/kernel/vserver/inode.c index d28749b91..3e8120bd3 100644 --- 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 held. + * this function is always called from sys_ioctl i.e., de is + * a field of a struct file that is guaranteed not to be freed. */ if (cmd == FIOC_SETIATTR) { if (!capable(CAP_SYS_ADMIN) || !capable(CAP_LINUX_IMMUTABLE))