aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2004-08-12 19:48:04 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-12 19:48:04 -0700
commit401f0fbde0a3cb8a6a36f1e24ed78880faeee318 (patch)
tree3708938cbf6e88879d5a88896a8e766f8b4101e3 /Documentation
parent15aeed9352711084abde5f6b4cd4e0b29f5f83ba (diff)
downloadhistory-401f0fbde0a3cb8a6a36f1e24ed78880faeee318.tar.gz
[PATCH] Remove fcntl f_op
The newly introduced ->fcntl file_operation is badly thought out, not to mention undocumented. This patch replaces it with two better defined operations -- check_flags and dir_notify. Any other fcntl()s that filesystems are interested in can have their own properly typed f_op method when they need it. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/filesystems/Locking4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/filesystems/Locking b/Documentation/filesystems/Locking
index e0ef1f80f4f31d..1c465edd2bbd67 100644
--- a/Documentation/filesystems/Locking
+++ b/Documentation/filesystems/Locking
@@ -349,6 +349,8 @@ prototypes:
loff_t *, int);
unsigned long (*get_unmapped_area)(struct file *, unsigned long,
unsigned long, unsigned long, unsigned long);
+ int (*check_flags)(int);
+ int (*dir_notify)(struct file *, unsigned long);
};
locking rules:
@@ -375,6 +377,8 @@ writev: no
sendfile: no
sendpage: no
get_unmapped_area: no
+check_flags: no
+dir_notify: no
->llseek() locking has moved from llseek to the individual llseek
implementations. If your fs is not using generic_file_llseek, you