]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: Use separate super_operations structure for no_journal filesystems
authorTheodore Ts'o <tytso@mit.edu>
Fri, 1 May 2009 16:52:25 +0000 (12:52 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 1 May 2009 16:52:25 +0000 (12:52 -0400)
commit355d7bfdfc9a417e987137424de425cefeb10ddc
tree0f99256a5632614134573283853c577676cb1b99
parent65ada36769dc2edaeaff3a371b1609473aeac695
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>
fs/ext4/super.c