linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] xfs: updates for 4.10-rc5
@ 2017-01-19 23:41 Darrick J. Wong
  2017-01-27 19:43 ` [GIT PULL] xfs: updates for 4.10-rc6 Darrick J. Wong
  0 siblings, 1 reply; 2+ messages in thread
From: Darrick J. Wong @ 2017-01-19 23:41 UTC (permalink / raw)
  To: Darrick J. Wong
  Cc: Linus Torvalds, Dave Chinner, Andrew Morton,
	Linux Kernel Mailing List, linux-xfs, Christoph Hellwig,
	Amir Goldstein, Eric Sandeen, Arnd Bergmann

Hi Linus,

I have a few more patches this week -- one to make the behavior of a
quota id ioctl consistent with the other filesystems, and the rest
improve validation of i_mode & i_size values coming into xfs so that we
don't read off the ends of arrays or crash when handed garbage disk
data.  Could you please pull the changes?

--Darrick

The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5:

  Linux 4.10-rc4 (2017-01-15 16:21:59 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-for-linux-4.10-rc5-1

for you to fetch changes up to fd29f7af75b7adf250beccffa63746c6a88e2b74:

  xfs: fix xfs_mode_to_ftype() prototype (2017-01-18 12:39:21 -0800)

----------------------------------------------------------------
Contained in this update:
- Inode i_mode sanitization
- Prevent overflows in getnextquota
- Minor build fix for the i_mode sanitizatoin

----------------------------------------------------------------
Amir Goldstein (6):
      xfs: make the ASSERT() condition likely
      xfs: sanity check directory inode di_size
      xfs: add missing include dependencies to xfs_dir2.h
      xfs: replace xfs_mode_to_ftype table with switch statement
      xfs: sanity check inode mode when creating new dentry
      xfs: sanity check inode di_mode

Arnd Bergmann (1):
      xfs: fix xfs_mode_to_ftype() prototype

Eric Sandeen (1):
      xfs: don't wrap ID in xfs_dq_get_next_id

 fs/xfs/libxfs/xfs_dir2.c      | 39 ++++++++++++++++++++++++---------------
 fs/xfs/libxfs/xfs_dir2.h      |  8 +++++---
 fs/xfs/libxfs/xfs_inode_buf.c | 10 ++++++++--
 fs/xfs/xfs_dquot.c            |  4 ++++
 fs/xfs/xfs_iops.c             | 50 ++++++++++++++++++++++++++++++++++++++++----------
 fs/xfs/xfs_linux.h            |  6 +++---
 6 files changed, 84 insertions(+), 33 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [GIT PULL] xfs: updates for 4.10-rc6
  2017-01-19 23:41 [GIT PULL] xfs: updates for 4.10-rc5 Darrick J. Wong
@ 2017-01-27 19:43 ` Darrick J. Wong
  0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2017-01-27 19:43 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: Dave Chinner, Andrew Morton, Darrick J. Wong,
	Linux Kernel Mailing List, linux-xfs, Christoph Hellwig,
	Eric Sandeen, Brian Foster

Hi Linus,

I have some more fixes this week -- better input validation, corruption
avoidance, build fixes, memory leak fixes, and a couple from Christoph
to avoid an ENOSPC failure.  Could you please pull the changes?

--Darrick

The following changes since commit 7a308bb3016f57e5be11a677d15b821536419d36:

  Linux 4.10-rc5 (2017-01-22 12:54:15 -0800)

are available in the git repository at:

  git://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git tags/xfs-for-linus-4.10-rc6-5

for you to fetch changes up to e0d76fa4475ef2cf4b52d18588b8ce95153d021b:

  xfs: prevent quotacheck from overloading inode lru (2017-01-27 09:32:30 -0800)

----------------------------------------------------------------
Contained in this update:
- Fix race conditions in the CoW code
- Fix some incorrect input validation checks
- Avoid crashing fs by running out of space when freeing inodes
- Fix toctou race wrt whether or not an inode has an attr
- Fix build error on arm
- Fix page refcount corruption when readahead fails
- Don't corrupt userspace in the bmap ioctl

----------------------------------------------------------------
Brian Foster (2):
      xfs: remove racy hasattr check from attr ops
      xfs: prevent quotacheck from overloading inode lru

Christoph Hellwig (4):
      xfs: fix COW writeback race
      xfs: only update mount/resv fields on success in __xfs_ag_resv_init
      xfs: use per-AG reservations for the finobt
      xfs: extsize hints are not unlikely in xfs_bmap_btalloc

Darrick J. Wong (3):
      xfs: verify dirblocklog correctly
      xfs: clear _XBF_PAGES from buffers when readahead page
      xfs: fix bmv_count confusion w/ shared extents

 fs/xfs/libxfs/xfs_ag_resv.c      | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------
 fs/xfs/libxfs/xfs_attr.c         |  6 ------
 fs/xfs/libxfs/xfs_bmap.c         | 48 ++++++++++++++++++++++++++++++++++--------------
 fs/xfs/libxfs/xfs_bmap.h         |  6 +++++-
 fs/xfs/libxfs/xfs_ialloc_btree.c | 90 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 fs/xfs/libxfs/xfs_ialloc_btree.h |  3 +++
 fs/xfs/libxfs/xfs_sb.c           |  2 +-
 fs/xfs/xfs_bmap_util.c           | 28 ++++++++++++++++++----------
 fs/xfs/xfs_buf.c                 |  1 +
 fs/xfs/xfs_inode.c               | 23 ++++++++++++-----------
 fs/xfs/xfs_iomap.c               |  2 +-
 fs/xfs/xfs_mount.h               |  1 +
 fs/xfs/xfs_qm.c                  |  3 ++-
 13 files changed, 220 insertions(+), 63 deletions(-)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-01-27 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-19 23:41 [GIT PULL] xfs: updates for 4.10-rc5 Darrick J. Wong
2017-01-27 19:43 ` [GIT PULL] xfs: updates for 4.10-rc6 Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).