aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/xfs/libxfs/xfs_inode_fork.c
diff options
context:
space:
mode:
authorChandan Babu R <chandanrlinux@gmail.com>2021-01-22 16:48:13 -0800
committerDarrick J. Wong <djwong@kernel.org>2021-01-22 16:54:48 -0800
commit3a19bb147c72d2e9b77137bf5130b9cfb50a5eef (patch)
tree9f39a5a28d86e10b55e39d7309f0b74ed8ccdcf9 /fs/xfs/libxfs/xfs_inode_fork.c
parentxfs: Check for extent overflow when renaming dir entries (diff)
downloadwireguard-linux-3a19bb147c72d2e9b77137bf5130b9cfb50a5eef.tar.xz
wireguard-linux-3a19bb147c72d2e9b77137bf5130b9cfb50a5eef.zip
xfs: Check for extent overflow when adding/removing xattrs
Adding/removing an xattr can cause XFS_DA_NODE_MAXDEPTH extents to be added. One extra extent for dabtree in case a local attr is large enough to cause a double split. It can also cause extent count to increase proportional to the size of a remote xattr's value. Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Signed-off-by: Chandan Babu R <chandanrlinux@gmail.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/libxfs/xfs_inode_fork.c')
0 files changed, 0 insertions, 0 deletions