projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
fs
/
fscache
/
object-list.c
diff --git
a/fs/fscache/object-list.c
b/fs/fscache/object-list.c
index
1e1f286
..
4a8eb31
100644
(file)
--- a/
fs/fscache/object-list.c
+++ b/
fs/fscache/object-list.c
@@
-103,7
+103,7
@@
static struct fscache_object *fscache_objlist_lookup(loff_t *_pos)
/* banners (can't represent line 0 by pos 0 as that would involve
* returning a NULL pointer) */
if (pos == 0)
/* banners (can't represent line 0 by pos 0 as that would involve
* returning a NULL pointer) */
if (pos == 0)
- return (struct fscache_object *)
++(*_pos);
+ return (struct fscache_object *)
(long)
++(*_pos);
if (pos < 3)
return (struct fscache_object *)pos;
if (pos < 3)
return (struct fscache_object *)pos;