Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-02-20 20:23:39 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-20 20:23:39 -0800
commitbcaab0f9acb04c18817edb52720379ca3a518cf3 (patch)
tree905b22425c7206217dc3818eb6b102d7b5682a95
parent59b52d25c371e80c671d96f1698383075ac4ebd9 (diff)
[PATCH] add lseek changes to fs porting guide
Al updated Documentation/filesystems/porting with 2.5 changes but there is no mention of lseek. The following patch, against 2.5.5, adds lseek to the list of functions that no longer are called with the BKL. Robert Love
-rw-r--r--Documentation/filesystems/porting11
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/filesystems/porting b/Documentation/filesystems/porting
index 49ffdac32d14..0a4efdd817ed 100644
--- a/Documentation/filesystems/porting
+++ b/Documentation/filesystems/porting
@@ -81,11 +81,12 @@ can relax your locking.
[mandatory]
->lookup(), ->truncate(), ->create(), ->unlink(), ->mknod(), ->mkdir(),
-->rmdir(), ->link(), ->symlink() and ->rename() are called without BKL now.
-Grab it on the entry, drop upon return - that will guarantee the same
-locking you used to have. If your method or its parts do not need BKL -
-better yet, now you can shift lock_kernel() / unlock_kernel() so that
-they would protect exactly what needs to be protected.
+->rmdir(), ->link(), ->lseek(), ->symlink() and ->rename() are called
+without BKL now. Grab it on the entry, drop upon return - that will
+guarantee the same locking you used to have. If your method or its
+parts do not need BKL - better yet, now you can shift lock_kernel() and
+unlock_kernel() so that they would protect exactly what needs to be
+protected.
---
[informational]