[PATCH 0/3] xfs: random SWAPEXT fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This series fixes some problems I found in the extent swap code.  The
first patch makes sure we drop the inode lock when cleaning out the COW
fork fails.  The second patch turns some metadata ASSERTs into a proper
EFSCORRUPTED return.  The third patch teaches swapext to adjust the
quota counts properly, which fixes a bug where unprivileged userspace
can cause the quota counts to be wrong by calling swapext on a pair of
files with different uid/gid/prid.

If you're going to start using this mess, you probably ought to just
pull from my git trees, which are linked below.

This is an extraordinary way to destroy everything.  Enjoy!
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=random-fixes

xfsprogs git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfsprogs-dev.git/log/?h=random-fixes

fstests git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfstests-dev.git/log/?h=random-fixes



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux