summaryrefslogtreecommitdiffstats
path: root/fs/read_write.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-22 15:17:11 -0700
commit16abef0e9e79643827fd5a2a14a07bced851ae72 (patch)
treeff2648a70755154ee93ad2ad5b11014329158e66 /fs/read_write.c
parente199ceee15c8f8652cc3bb97651bdf246ba23c5f (diff)
downloadop-kernel-dev-16abef0e9e79643827fd5a2a14a07bced851ae72.zip
op-kernel-dev-16abef0e9e79643827fd5a2a14a07bced851ae72.tar.gz
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/read_write.c')
-rw-r--r--fs/read_write.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/read_write.c b/fs/read_write.c
index 49a9871..f0d1240 100644
--- a/fs/read_write.c
+++ b/fs/read_write.c
@@ -33,7 +33,7 @@ EXPORT_SYMBOL(generic_ro_fops);
loff_t generic_file_llseek(struct file *file, loff_t offset, int origin)
{
- long long retval;
+ loff_t retval;
struct inode *inode = file->f_mapping->host;
mutex_lock(&inode->i_mutex);
@@ -60,7 +60,7 @@ EXPORT_SYMBOL(generic_file_llseek);
loff_t remote_llseek(struct file *file, loff_t offset, int origin)
{
- long long retval;
+ loff_t retval;
lock_kernel();
switch (origin) {
@@ -91,7 +91,7 @@ EXPORT_SYMBOL(no_llseek);
loff_t default_llseek(struct file *file, loff_t offset, int origin)
{
- long long retval;
+ loff_t retval;
lock_kernel();
switch (origin) {
OpenPOWER on IntegriCloud