ext4: use sync_inode_metadata() when syncing inode metadata
authorGuo Chao <yan@linux.vnet.ibm.com>
Mon, 10 Dec 2012 19:06:03 +0000 (14:06 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 10 Dec 2012 19:06:03 +0000 (14:06 -0500)
commit64744e03c6871e5e4678478bab1b8c3ba6cca395
tree8cfade7fe7ef05ebc9e504d4ee709ebcac298e90
parentf08225d176a5736363beea653b9b3fb9400c1255
ext4: use sync_inode_metadata() when syncing inode metadata

We have a dedicated interface to sync inode metadata.  Use it to
simplify ext4's code some.

Signed-off-by: Guo Chao <yan@linux.vnet.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
fs/ext4/fsync.c