aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2008-02-25 17:20:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-02-25 17:20:46 -0500
commit642be6ec218b956fbae88304449720f76ba0d578 (patch)
treeac72e5bcddf63a6e3b9fbdaaa84cd993a64c1094 /fs/ext4
parentbfa274e2436fc7ef72ef51c878083647f1cfd429 (diff)
Remove incorrect BKL comments in ext4
Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/dir.c2
-rw-r--r--fs/ext4/inode.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/dir.c b/fs/ext4/dir.c
index 33888bb58144..2c23bade9aa6 100644
--- a/fs/ext4/dir.c
+++ b/fs/ext4/dir.c
@@ -46,7 +46,7 @@ const struct file_operations ext4_dir_operations = {
46#ifdef CONFIG_COMPAT 46#ifdef CONFIG_COMPAT
47 .compat_ioctl = ext4_compat_ioctl, 47 .compat_ioctl = ext4_compat_ioctl,
48#endif 48#endif
49 .fsync = ext4_sync_file, /* BKL held */ 49 .fsync = ext4_sync_file,
50 .release = ext4_release_dir, 50 .release = ext4_release_dir,
51}; 51};
52 52
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 7dd9b50d5ebc..d3c6f58a9def 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -768,7 +768,6 @@ err_out:
768 * 768 *
769 * `handle' can be NULL if create == 0. 769 * `handle' can be NULL if create == 0.
770 * 770 *
771 * The BKL may not be held on entry here. Be sure to take it early.
772 * return > 0, # of blocks mapped or allocated. 771 * return > 0, # of blocks mapped or allocated.
773 * return = 0, if plain lookup failed. 772 * return = 0, if plain lookup failed.
774 * return < 0, error case. 773 * return < 0, error case.