summaryrefslogtreecommitdiffstats
path: root/fs/seq_file.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2008-04-22 15:09:22 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-23 00:17:11 +0200
commit16abef0e9e79643827fd5a2a14a07bced851ae72 (patch)
treeff2648a70755154ee93ad2ad5b11014329158e66 /fs/seq_file.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff)
downloadlinux-16abef0e9e79643827fd5a2a14a07bced851ae72.tar.xz
linux-16abef0e9e79643827fd5a2a14a07bced851ae72.zip
fs: use loff_t type instead of long long
Use offset type consistently. Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/seq_file.c')
-rw-r--r--fs/seq_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/seq_file.c b/fs/seq_file.c
index 853770274f20..9943408b315e 100644
--- a/fs/seq_file.c
+++ b/fs/seq_file.c
@@ -239,7 +239,7 @@ Eoverflow:
loff_t seq_lseek(struct file *file, loff_t offset, int origin)
{
struct seq_file *m = (struct seq_file *)file->private_data;
- long long retval = -EINVAL;
+ loff_t retval = -EINVAL;
mutex_lock(&m->lock);
m->version = file->f_version;