Commit a6739af8b9e8bf0fd1fb3f4f8406a9f650cb733a

Authored by Jan Kara
Committed by Linus Torvalds
1 parent da58a16173

ext2: fix a comment when ext2_release_file() is called

Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -24,9 +24,9 @@
24 24 #include "acl.h"
25 25  
26 26 /*
27   - * Called when an inode is released. Note that this is different
28   - * from ext2_open_file: open gets called at every open, but release
29   - * gets called only when /all/ the files are closed.
  27 + * Called when filp is released. This happens when all file descriptors
  28 + * for a single struct file are closed. Note that different open() calls
  29 + * for the same file yield different struct file structures.
30 30 */
31 31 static int ext2_release_file (struct inode * inode, struct file * filp)
32 32 {