From: Jan Kara Date: Mon, 16 Jul 2007 06:40:22 +0000 (-0700) Subject: ext2: fix a comment when ext2_release_file() is called X-Git-Tag: v2.6.23-rc1~905 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a6739af8b9e8bf0fd1fb3f4f8406a9f650cb733a;p=linux-2.6-omap-h63xx.git ext2: fix a comment when ext2_release_file() is called Signed-off-by: Jan Kara Acked-by: "Theodore Ts'o" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 04afeecaaef..ab7961260c4 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c @@ -24,9 +24,9 @@ #include "acl.h" /* - * Called when an inode is released. Note that this is different - * from ext2_open_file: open gets called at every open, but release - * gets called only when /all/ the files are closed. + * Called when filp is released. This happens when all file descriptors + * for a single struct file are closed. Note that different open() calls + * for the same file yield different struct file structures. */ static int ext2_release_file (struct inode * inode, struct file * filp) {