projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
introduce ->iterate(), ctx->pos, dir_emit()
[GitHub/mt8127/android_kernel_alcatel_ttab.git]
/
arch
/
parisc
/
hpux
/
fs.c
diff --git
a/arch/parisc/hpux/fs.c
b/arch/parisc/hpux/fs.c
index fc2cbee86e349e77fa85a46376570d67bacd091c..eca8230267cc78cbf499ff05c7fa3c9dbccd39b7 100644
(file)
--- a/
arch/parisc/hpux/fs.c
+++ b/
arch/parisc/hpux/fs.c
@@
-129,7
+129,7
@@
int hpux_getdents(unsigned int fd, struct hpux_dirent __user *dirent, unsigned i
error = buf.error;
lastdirent = buf.previous;
if (lastdirent) {
- if (put_user(
arg.file->f_
pos, &lastdirent->d_off))
+ if (put_user(
buf.ctx.
pos, &lastdirent->d_off))
error = -EFAULT;
else
error = count - buf.count;