diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-07 12:01:33 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-03-07 12:01:33 -0500 |
commit | a9913f23f39f4aa74956587a03e78b758a10c314 (patch) | |
tree | 55bbe50b2417009fc20d4fcaa248bebd1d2bf887 /fs/ext2/xattr.c | |
parent | b39a07a5e073ba783cd86b60c77044587ddbf8a1 (diff) | |
parent | 52b9666efd8b0874d334de718a7d561e7b0eb1cc (diff) |
Merge tag 'fs_for_v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs
Pull ext2 and udf fixes from Jan Kara:
"A couple of fixes for udf and ext2. Namely:
- fix making ext2 mountable (again) with 64k blocksize
- fix for ext2 statx(2) handling
- fix for udf handling of corrupted filesystem so that it doesn't get
corrupted even further
- couple smaller ext2 and udf cleanups"
* tag 'fs_for_v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
udf: Drop pointless check from udf_sync_fs()
ext2: support statx syscall
udf: disallow RW mount without valid integrity descriptor
udf: finalize integrity descriptor before writeback
udf: factor out LVID finalization for reuse
ext2: Fix underflow in ext2_max_size()
ext2: Fix a typo in comment
ext2: Remove redundant check for finding no group
ext2: Annotate implicit fall through in __ext2_truncate_blocks
ext2: Set superblock revision when enabling xattr feature
ext2: Remove redundant check on s_inode_size
ext2: set proper return code
Diffstat (limited to 'fs/ext2/xattr.c')
-rw-r--r-- | fs/ext2/xattr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2/xattr.c b/fs/ext2/xattr.c index 4f30876ee325..1e33e0ac8cf1 100644 --- a/fs/ext2/xattr.c +++ b/fs/ext2/xattr.c | |||
@@ -342,6 +342,7 @@ static void ext2_xattr_update_super_block(struct super_block *sb) | |||
342 | return; | 342 | return; |
343 | 343 | ||
344 | spin_lock(&EXT2_SB(sb)->s_lock); | 344 | spin_lock(&EXT2_SB(sb)->s_lock); |
345 | ext2_update_dynamic_rev(sb); | ||
345 | EXT2_SET_COMPAT_FEATURE(sb, EXT2_FEATURE_COMPAT_EXT_ATTR); | 346 | EXT2_SET_COMPAT_FEATURE(sb, EXT2_FEATURE_COMPAT_EXT_ATTR); |
346 | spin_unlock(&EXT2_SB(sb)->s_lock); | 347 | spin_unlock(&EXT2_SB(sb)->s_lock); |
347 | mark_buffer_dirty(EXT2_SB(sb)->s_sbh); | 348 | mark_buffer_dirty(EXT2_SB(sb)->s_sbh); |