summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorTheodore Ts'o2018-12-19 20:36:58 +0100
committerTheodore Ts'o2018-12-19 20:36:58 +0100
commit18f2c4fcebf2582f96cbd5f2238f4f354a0e4847 (patch)
tree633eb9e94a620d818dbb8bd6cdd288c6f1dc5f49 /fs/ocfs2
parentext4: force inode writes when nfsd calls commit_metadata() (diff)
downloadkernel-qcow2-linux-18f2c4fcebf2582f96cbd5f2238f4f354a0e4847.tar.gz
kernel-qcow2-linux-18f2c4fcebf2582f96cbd5f2238f4f354a0e4847.tar.xz
kernel-qcow2-linux-18f2c4fcebf2582f96cbd5f2238f4f354a0e4847.zip
ext4: check for shutdown and r/o file system in ext4_write_inode()
If the file system has been shut down or is read-only, then ext4_write_inode() needs to bail out early. Also use jbd2_complete_transaction() instead of ext4_force_commit() so we only force a commit if it is needed. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to 'fs/ocfs2')
0 files changed, 0 insertions, 0 deletions