diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-06-07 20:41:36 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-06-07 20:41:36 -0700 |
commit | c8ae067f2635be0f8c7e5db1bb74b757d623e05b (patch) | |
tree | fbb47b67af51d6ab824094d1c9a178543df596fb /arch | |
parent | 2051877c4c8526abc0a1d514e76f95610b4ab8f3 (diff) | |
parent | 1607f09c226d1378439c411baaaa020042750338 (diff) | |
download | linux-c8ae067f2635be0f8c7e5db1bb74b757d623e05b.tar.gz linux-c8ae067f2635be0f8c7e5db1bb74b757d623e05b.tar.bz2 linux-c8ae067f2635be0f8c7e5db1bb74b757d623e05b.zip |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs fixes from Al Viro:
"Fixes for crap of assorted ages: EOPENSTALE one is 4.2+, autofs one is
4.6, d_walk - 3.2+.
The atomic_open() and coredump ones are regressions from this window"
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
coredump: fix dumping through pipes
fix a regression in atomic_open()
fix d_walk()/non-delayed __d_free() race
autofs braino fix for do_last()
fix EOPENSTALE bug in do_last()
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/coredump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/coredump.c b/arch/powerpc/platforms/cell/spufs/coredump.c index 84fb984f29c1..85c85eb3e245 100644 --- a/arch/powerpc/platforms/cell/spufs/coredump.c +++ b/arch/powerpc/platforms/cell/spufs/coredump.c @@ -172,7 +172,7 @@ static int spufs_arch_write_note(struct spu_context *ctx, int i, if (rc < 0) goto out; - skip = roundup(cprm->file->f_pos - total + sz, 4) - cprm->file->f_pos; + skip = roundup(cprm->pos - total + sz, 4) - cprm->pos; if (!dump_skip(cprm, skip)) goto Eio; out: |