Преглед изворни кода

Remove incorrect BKL comments in ext4

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Andi Kleen пре 17 година
родитељ
комит
642be6ec21
2 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 1
      fs/ext4/dir.c
  2. 0 1
      fs/ext4/inode.c

+ 1 - 1
fs/ext4/dir.c

@@ -46,7 +46,7 @@ const struct file_operations ext4_dir_operations = {
 #ifdef CONFIG_COMPAT
 #ifdef CONFIG_COMPAT
 	.compat_ioctl	= ext4_compat_ioctl,
 	.compat_ioctl	= ext4_compat_ioctl,
 #endif
 #endif
-	.fsync		= ext4_sync_file,	/* BKL held */
+	.fsync		= ext4_sync_file,
 	.release	= ext4_release_dir,
 	.release	= ext4_release_dir,
 };
 };
 
 

+ 0 - 1
fs/ext4/inode.c

@@ -768,7 +768,6 @@ err_out:
  *
  *
  * `handle' can be NULL if create == 0.
  * `handle' can be NULL if create == 0.
  *
  *
- * The BKL may not be held on entry here.  Be sure to take it early.
  * return > 0, # of blocks mapped or allocated.
  * return > 0, # of blocks mapped or allocated.
  * return = 0, if plain lookup failed.
  * return = 0, if plain lookup failed.
  * return < 0, error case.
  * return < 0, error case.