summaryrefslogtreecommitdiffstats
path: root/fs/ext4/fsync.c
diff options
context:
space:
mode:
authorDmitry Monakhov <dmonakhov@openvz.org>2010-03-01 23:29:39 -0500
committerTheodore Ts'o <tytso@mit.edu>2010-03-01 23:29:39 -0500
commit6e3617e579e070d3655a93ee9ed7149113e795e0 (patch)
treed27c90ac6366e5c9018aeae5d6052f3ae1a4243b /fs/ext4/fsync.c
parentda1dafca84413145f5ac59998b4cdd06fb89f721 (diff)
downloadop-kernel-dev-6e3617e579e070d3655a93ee9ed7149113e795e0.zip
op-kernel-dev-6e3617e579e070d3655a93ee9ed7149113e795e0.tar.gz
ext4: Handle non empty on-disk orphan link
In case of truncate errors we explicitly remove inode from in-core orphan list via orphan_del(NULL, inode) without modifying the on-disk list. But later on, the same inode may be inserted in the orphan list again which will result the on-disk linked list getting corrupted. If inode i_dtime contains valid value, then skip on-disk list modification. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/fsync.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud