diff options
author | Ming Lei <tom.leiming@gmail.com> | 2013-04-30 00:06:07 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-04-30 00:54:28 +0200 |
commit | 546ae2d2f717230b2ff423295f8d6dc489a878e8 (patch) | |
tree | d0e691972da9c41d9a0e6d80c1b62fe5c066a6a9 /fs | |
parent | debug_locks.h: make warning more verbose (diff) | |
download | linux-546ae2d2f717230b2ff423295f8d6dc489a878e8.tar.xz linux-546ae2d2f717230b2ff423295f8d6dc489a878e8.zip |
fs/read_write.c: fix generic_file_llseek() comment
Commit ef3d0fd27e90 ("vfs: do (nearly) lockless generic_file_llseek")
has removed i_mutex from generic_file_llseek, so update the comment
accordingly.
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/read_write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/read_write.c b/fs/read_write.c index e6ddc8dceb96..7a648911246b 100644 --- a/fs/read_write.c +++ b/fs/read_write.c @@ -128,7 +128,7 @@ EXPORT_SYMBOL(generic_file_llseek_size); * * This is a generic implemenation of ->llseek useable for all normal local * filesystems. It just updates the file offset to the value specified by - * @offset and @whence under i_mutex. + * @offset and @whence. */ loff_t generic_file_llseek(struct file *file, loff_t offset, int whence) { |