|author||Jan Kara <email@example.com>||2007-07-15 23:40:22 -0700|
|committer||Linus Torvalds <firstname.lastname@example.org>||2007-07-16 09:05:44 -0700|
ext2: fix a comment when ext2_release_file() is called
Signed-off-by: Jan Kara <email@example.com> Acked-by: "Theodore Ts'o" <firstname.lastname@example.org> Signed-off-by: Andrew Morton <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Diffstat (limited to 'fs/ext2/file.c')
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index 04afeecaaef..ab7961260c4 100644
@@ -24,9 +24,9 @@
- * 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)