projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfa274e
)
Remove incorrect BKL comments in ext4
author
Andi Kleen
<ak@suse.de>
Mon, 25 Feb 2008 22:20:46 +0000
(17:20 -0500)
committer
Theodore Ts'o
<tytso@mit.edu>
Mon, 25 Feb 2008 22:20:46 +0000
(17:20 -0500)
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/dir.c
patch
|
blob
|
history
fs/ext4/inode.c
patch
|
blob
|
history
diff --git
a/fs/ext4/dir.c
b/fs/ext4/dir.c
index 33888bb58144fc1660d4106dbcbd689b560d2aa0..2c23bade9aa676451972905449e8d8cc0bbcfec3 100644
(file)
--- a/
fs/ext4/dir.c
+++ b/
fs/ext4/dir.c
@@
-46,7
+46,7
@@
const struct file_operations ext4_dir_operations = {
#ifdef CONFIG_COMPAT
.compat_ioctl = ext4_compat_ioctl,
#endif
- .fsync = ext4_sync_file,
/* BKL held */
+ .fsync = ext4_sync_file,
.release = ext4_release_dir,
};
diff --git
a/fs/ext4/inode.c
b/fs/ext4/inode.c
index 7dd9b50d5ebc7d10f2a0dc2f7e09560ee7784db8..d3c6f58a9def4184dc6b3de2e5dfec249a4bd788 100644
(file)
--- a/
fs/ext4/inode.c
+++ b/
fs/ext4/inode.c
@@
-768,7
+768,6
@@
err_out:
*
* `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, if plain lookup failed.
* return < 0, error case.