]> Git Repo - linux.git/commitdiff
ext2: fix a comment when ext2_release_file() is called
authorJan Kara <[email protected]>
Mon, 16 Jul 2007 06:40:22 +0000 (23:40 -0700)
committerLinus Torvalds <[email protected]>
Mon, 16 Jul 2007 16:05:44 +0000 (09:05 -0700)
Signed-off-by: Jan Kara <[email protected]>
Acked-by: "Theodore Ts'o" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/ext2/file.c

index 04afeecaaef31acde466b50f48ea6057ac3f98a9..ab7961260c49d9071444d9e28cf6dd619b5058df 100644 (file)
@@ -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)
 {
This page took 0.055397 seconds and 4 git commands to generate.