fs: fix comment of generic_file_llseek
PATCH 1/1 fs: fix comment of generic_file_llseek
Commit ef3d0fd2(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 <[email protected]>
--- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/read_write.c +1 -1
@@ -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) {
Signature · 1 line
1.7.9.5