summaryrefslogtreecommitdiff
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2021-10-26 11:56:45 -0400
committerJeff Layton <jlayton@kernel.org>2021-10-26 12:20:50 -0400
commit482e00075d660a16de822686a4be4f7c0e11e5e2 (patch)
treed783f701e08995693dff2b73d3b15a3af7f69a97 /fs/read_write.c
parente9728cc72d915966dcc288d2e217af48e8fa2362 (diff)
downloadlwn-482e00075d660a16de822686a4be4f7c0e11e5e2.tar.gz
lwn-482e00075d660a16de822686a4be4f7c0e11e5e2.zip
fs: remove leftover comments from mandatory locking removal
Stragglers from commit f7e33bdbd6d1 ("fs: remove mandatory file locking support"). Signed-off-by: Jeff Layton <jlayton@kernel.org>
Diffstat (limited to 'fs/read_write.c')
-rw-r--r--fs/read_write.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index af057c57bdc6..0074afa7ecb3 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -368,10 +368,6 @@ int rw_verify_area(int read_write, struct file *file, const loff_t *ppos, size_t
if (unlikely((ssize_t) count < 0))
return -EINVAL;
- /*
- * ranged mandatory locking does not apply to streams - it makes sense
- * only for files where position has a meaning.
- */
if (ppos) {
loff_t pos = *ppos;