Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'xfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux

Pull xfs fixes from Darrick Wong:
"Nothing exciting, just more fixes for not returning sync_filesystem
error values (and eliding it when it's not necessary).

Summary:

- Only call sync_filesystem when we're remounting the filesystem
readonly readonly, and actually check its return value"

* tag 'xfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs: only bother with sync_filesystem during readonly remount

+5 -2
+5 -2
fs/xfs/xfs_super.c
··· 1753 1753 }; 1754 1754 int error; 1755 1755 1756 + /* Flush all the dirty data to disk. */ 1757 + error = sync_filesystem(mp->m_super); 1758 + if (error) 1759 + return error; 1760 + 1756 1761 /* 1757 1762 * Cancel background eofb scanning so it cannot race with the final 1758 1763 * log force+buftarg wait and deadlock the remount. ··· 1835 1830 error = xfs_fs_validate_params(new_mp); 1836 1831 if (error) 1837 1832 return error; 1838 - 1839 - sync_filesystem(mp->m_super); 1840 1833 1841 1834 /* inode32 -> inode64 */ 1842 1835 if (xfs_has_small_inums(mp) && !xfs_has_small_inums(new_mp)) {