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)
commit88e0387769c4bc36c93d25329f6151fb3d6474b2
treea26a2a7f891b03e155b560b249f24761282ebc11
parenteeca7ea1baa939c97d58ba821f8c6e683e4388f2
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