summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-02-05 09:13:51 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2022-02-05 09:13:51 -0800
commitea7b3e6d42d7afa141ff765099d6b4ea406001bc (patch)
treef778fd3d33d72fdda2aa6cb39dc52e56ed9187aa /fs/cachefiles
parent524446e2179855534b425647dfc250757905aad8 (diff)
parent2d86293c70750e4331e9616aded33ab6b47c299d (diff)
downloadlinux-ea7b3e6d42d7afa141ff765099d6b4ea406001bc.tar.bz2
Merge tag 'vfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull vfs fixes from Darrick Wong: "I was auditing the sync_fs code paths recently and noticed that most callers of ->sync_fs ignore its return value (and many implementations never return nonzero even if the fs is broken!), which means that internal fs errors and corruption are not passed up to userspace callers of syncfs(2) or FIFREEZE. Hence fixing the common code and XFS, and I'll start working on the ext4/btrfs folks if this is merged. Summary: - Fix a bug where callers of ->sync_fs (e.g. sync_filesystem and syncfs(2)) ignore the return value. - Fix a bug where callers of sync_filesystem (e.g. fs freeze) ignore the return value. - Fix a bug in XFS where xfs_fs_sync_fs never passed back error returns" * tag 'vfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux: xfs: return errors in xfs_fs_sync_fs quota: make dquot_quota_sync return errors from ->sync_fs vfs: make sync_filesystem return errors from ->sync_fs vfs: make freeze_super abort when sync_filesystem returns error
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions