mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
ext4: Use separate super_operations structure for no_journal filesystems
By using a separate super_operations structure for filesystems that have and don't have journals, we can simply ext4_write_super() --- which is only needed when no journal is present --- and ext4_freeze(), ext4_unfreeze(), and ext4_sync_fs(), which are only needed when the journal is present. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
This commit is contained in:
parent
7234ab2a55
commit
9ca92389c5
1 changed files with 57 additions and 51 deletions
108
fs/ext4/super.c
108
fs/ext4/super.c
Loading…
Add table
Add a link
Reference in a new issue