]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'for-4.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 May 2018 18:47:43 +0000 (11:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 May 2018 18:47:43 +0000 (11:47 -0700)
commit7985185412dfc13d96727f736120e6379e865fbd
tree17a529125f0cd3d4904f44e7caf541e7827bd53d
parent69ae903e43d93b7887751f306b38370fc6118c0a
parentafdd7f87ff903920b9103a8050852a6710b9cfae
Merge tag 'for-4.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fix from David Sterba:
 "A one-liner that prevents leaking an internal error value 1 out of the
  ftruncate syscall.

  This has been observed in practice. The steps to reproduce make a
  common pattern (open/write/fync/ftruncate) but also need the
  application to not check only for negative values and happens only for
  compressed inlined files.

  The conditions are narrow but as this could break userspace I think
  it's better to merge it now and not wait for the merge window"

* tag 'for-4.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
  Btrfs: fix error handling in btrfs_truncate()
fs/btrfs/inode.c