readdir has to txn_restart, therefore, grab space for stat data update has to be forced --- commit f1cea9c0a8db0977077d54562677514d6d736690 tree 95479706299276d7c23efd337216501b0dfd69c2 parent bbf99f71c140d7758a6223a557fa4a4d2b5c384e author Vladimir V. Saveliev Tue, 18 Jul 2006 18:13:05 +0400 committer Vladimir V. Saveliev Tue, 18 Jul 2006 18:13:05 +0400 plugin/file_ops_readdir.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/plugin/file_ops_readdir.c b/plugin/file_ops_readdir.c index 04ada21..dfdb68d 100644 --- a/plugin/file_ops_readdir.c +++ b/plugin/file_ops_readdir.c @@ -629,7 +629,7 @@ int readdir_common(struct file *f /* dir detach_fsdata(f); /* try to update directory's atime */ - if (reiser4_grab_space(inode_file_plugin(inode)->estimate.update(inode), + if (reiser4_grab_space_force(inode_file_plugin(inode)->estimate.update(inode), BA_CAN_COMMIT) != 0) warning("", "failed to update atime on readdir: %llu", get_inode_oid(inode));