]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: allow inode expansion for nojournal file systems
authorEric Whitney <enwlinux@gmail.com>
Tue, 15 Nov 2016 02:48:35 +0000 (21:48 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 15 Nov 2016 02:48:35 +0000 (21:48 -0500)
commitdc39e3e442439613d1b12dfce52cbcc92dd2cb22
treea26a2a7f891b03e155b560b249f24761282ebc11
parent593bb620e0150900cec64deee993ccf1fbcf5a8e
ext4: allow inode expansion for nojournal file systems

Runs of xfstest ext4/022 on nojournal file systems result in failures
because the inodes of some of its test files do not expand as expected.
The cause is a conditional in ext4_mark_inode_dirty() that prevents inode
expansion unless the test file system has a journal.  Remove this
unnecessary restriction.

Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/inode.c