Skip to contentSkip to conversation

fs: fix comment of generic_file_llseek

PATCH New Ming Lei 1 participant 1 message Mar 19, 2013 VFS

lore
Share & tools
lore

Ming Lei

author
#0 lore raw

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.

---
 fs/read_write.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/read_write.c +1 -1
index b81aebe..7fdcade 100644
@@ -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