]> git.karo-electronics.de Git - linux-beck.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)
commit9ca92389c5312a51e819c15c762f0abdc7f3129b
tree0f99256a5632614134573283853c577676cb1b99
parent7234ab2a55e77784b44cf2d862136d9e41b8d98a
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