diff options
Diffstat (limited to 'fs/adfs/dir.c')
-rw-r--r-- | fs/adfs/dir.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/adfs/dir.c b/fs/adfs/dir.c index 7fda44464121..3d4bbe836fb5 100644 --- a/fs/adfs/dir.c +++ b/fs/adfs/dir.c @@ -295,6 +295,10 @@ adfs_dir_update(struct super_block *sb, struct object_info *obj, int wait) ret = ops->update(&dir, obj); if (ret) goto forget; + + ret = ops->commit(&dir); + if (ret) + goto forget; up_write(&adfs_dir_rwsem); adfs_dir_mark_dirty(&dir); |