From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ming Lei Subject: [PATCH] fs: fix comment of generic_file_llseek Date: Tue, 19 Mar 2013 20:28:06 +0800 Message-ID: <1363696086-12092-1-git-send-email-tom.leiming@gmail.com> Cc: Ming Lei To: Alexander Viro , linux-fsdevel@vger.kernel.org Return-path: Received: from mail-pb0-f47.google.com ([209.85.160.47]:55799 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632Ab3CSM21 (ORCPT ); Tue, 19 Mar 2013 08:28:27 -0400 Received: by mail-pb0-f47.google.com with SMTP id rp2so391635pbb.6 for ; Tue, 19 Mar 2013 05:28:27 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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 --- fs/read_write.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/read_write.c b/fs/read_write.c index b81aebe..7fdcade 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) { -- 1.7.9.5