From 31f80c1094c73bcc3f1c76b646a15332c0523257 Mon Sep 17 00:00:00 2001 From: Suresh Jayaraman Date: Tue, 6 Jul 2010 18:00:10 +0530 Subject: [PATCH] cifs: remove an potentially confusing, obsolete comment The recent commit da864426f39e5e1448043250b67db443a3853f4e modified the code so that filp is full instantiated whenever the file is created and passed back. The below comment is no longer true, remove it. Cc: Jeff Layton Signed-off-by: Suresh Jayaraman Signed-off-by: Steve French --- fs/cifs/dir.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index e7ae78b66fa15..a7de5e9fff11f 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -130,12 +130,6 @@ cifs_bp_rename_retry: return full_path; } -/* - * When called with struct file pointer set to NULL, there is no way we could - * update file->private_data, but getting it stuck on openFileList provides a - * way to access it from cifs_fill_filedata and thereby set file->private_data - * from cifs_open. - */ struct cifsFileInfo * cifs_new_fileinfo(struct inode *newinode, __u16 fileHandle, struct file *file, struct vfsmount *mnt, unsigned int oflags) -- 2.39.5