Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344353
b: refs/heads/master
c: 343cd8f
h: refs/heads/master
i:
  344351: 097916f
v: v3
  • Loading branch information
Bob Peterson authored and Steven Whitehouse committed Nov 13, 2012
1 parent e3dbf99 commit bc3409c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fa731fc4e045a801814547188a63c2cd49a4cfe6
refs/heads/master: 343cd8f0d78515da38e41e9351f5ba306cdec84a
7 changes: 1 addition & 6 deletions trunk/fs/gfs2/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -1676,16 +1676,11 @@ int gfs2_dir_add(struct inode *inode, const struct qstr *name,
be16_add_cpu(&leaf->lf_entries, 1);
}
brelse(bh);
error = gfs2_meta_inode_buffer(ip, &bh);
if (error)
break;
gfs2_trans_add_bh(ip->i_gl, bh, 1);
ip->i_entries++;
ip->i_inode.i_mtime = ip->i_inode.i_ctime = CURRENT_TIME;
if (S_ISDIR(nip->i_inode.i_mode))
inc_nlink(&ip->i_inode);
gfs2_dinode_out(ip, bh->b_data);
brelse(bh);
mark_inode_dirty(inode);
error = 0;
break;
}
Expand Down

0 comments on commit bc3409c

Please sign in to comment.