Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262759
b: refs/heads/master
c: 8c20871
h: refs/heads/master
i:
  262757: 7821534
  262755: 296d235
  262751: 6ad14e6
v: v3
  • Loading branch information
Eric Sandeen authored and Linus Torvalds committed Aug 12, 2011
1 parent 810c6e3 commit bff0e1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: d2db60df1e7eb39cf0f378dfc4dd8813666d46ef
refs/heads/master: 8c20871998c082f6fbc963f1449a5ba5140ee39a
6 changes: 4 additions & 2 deletions trunk/fs/ext4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2253,9 +2253,11 @@ static int ext4_symlink(struct inode *dir,
/*
* For non-fast symlinks, we just allocate inode and put it on
* orphan list in the first transaction => we need bitmap,
* group descriptor, sb, inode block, quota blocks.
* group descriptor, sb, inode block, quota blocks, and
* possibly selinux xattr blocks.
*/
credits = 4 + EXT4_MAXQUOTAS_INIT_BLOCKS(dir->i_sb);
credits = 4 + EXT4_MAXQUOTAS_INIT_BLOCKS(dir->i_sb) +
EXT4_XATTR_TRANS_BLOCKS;
} else {
/*
* Fast symlink. We have to add entry to directory
Expand Down

0 comments on commit bff0e1a

Please sign in to comment.