diff options
| author | Linus Torvalds <[email protected]> | 2021-07-18 11:27:25 -0700 | 
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-07-18 11:27:25 -0700 | 
| commit | f0eb870a84224c9bfde0dc547927e8df1be4267c (patch) | |
| tree | 8e15a337b03259c56e3d1ec442176012dec19f41 /fs/xfs/libxfs/xfs_ialloc.h | |
| parent | fbf1bddc4e171e26ac55a9637c7db13e75acf4fa (diff) | |
| parent | b102a46ce16fd5550aed882c3c5b95f50da7992c (diff) | |
Merge tag 'xfs-5.14-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fixes from Darrick Wong:
 "A few fixes for issues in the new online shrink code, additional
  corrections for my recent bug-hunt w.r.t. extent size hints on
  realtime, and improved input checking of the GROWFSRT ioctl.
  IOW, the usual 'I somehow got bored during the merge window and
  resumed auditing the farther reaches of xfs':
   - Fix shrink eligibility checking when sparse inode clusters enabled
   - Reset '..' directory entries when unlinking directories to prevent
     verifier errors if fs is shrinked later
   - Don't report unusable extent size hints to FSGETXATTR
   - Don't warn when extent size hints are unusable because the sysadmin
     configured them that way
   - Fix insufficient parameter validation in GROWFSRT ioctl
   - Fix integer overflow when adding rt volumes to filesystem"
* tag 'xfs-5.14-fixes-1' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
  xfs: detect misaligned rtinherit directory extent size hints
  xfs: fix an integer overflow error in xfs_growfs_rt
  xfs: improve FSGROWFSRT precondition checking
  xfs: don't expose misaligned extszinherit hints to userspace
  xfs: correct the narrative around misaligned rtinherit/extszinherit dirs
  xfs: reset child dir '..' entry when unlinking child
  xfs: check for sparse inode clusters that cross new EOAG when shrinking
Diffstat (limited to 'fs/xfs/libxfs/xfs_ialloc.h')
| -rw-r--r-- | fs/xfs/libxfs/xfs_ialloc.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/fs/xfs/libxfs/xfs_ialloc.h b/fs/xfs/libxfs/xfs_ialloc.h index 9df7c80408ff..9a2112b4ad5e 100644 --- a/fs/xfs/libxfs/xfs_ialloc.h +++ b/fs/xfs/libxfs/xfs_ialloc.h @@ -122,4 +122,7 @@ int xfs_ialloc_cluster_alignment(struct xfs_mount *mp);  void xfs_ialloc_setup_geometry(struct xfs_mount *mp);  xfs_ino_t xfs_ialloc_calc_rootino(struct xfs_mount *mp, int sunit); +int xfs_ialloc_check_shrink(struct xfs_trans *tp, xfs_agnumber_t agno, +		struct xfs_buf *agibp, xfs_agblock_t new_length); +  #endif	/* __XFS_IALLOC_H__ */ |