Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163659
b: refs/heads/master
c: b05ab1d
h: refs/heads/master
i:
  163657: 5359f65
  163655: 146cc60
v: v3
  • Loading branch information
Theodore Ts'o committed Aug 30, 2009
1 parent 0960e1d commit 7e7e8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: 2c94eb86c66e1eaaa1e7d8a2120f4fad5e7e7736
refs/heads/master: b05ab1dc3795e6f997fb0d34f38fce5012533c3e
2 changes: 1 addition & 1 deletion trunk/fs/ext4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -2318,7 +2318,7 @@ static int ext4_link(struct dentry *old_dentry,
struct inode *inode = old_dentry->d_inode;
int err, retries = 0;

if (EXT4_DIR_LINK_MAX(inode))
if (inode->i_nlink >= EXT4_LINK_MAX)
return -EMLINK;

/*
Expand Down

0 comments on commit 7e7e8db

Please sign in to comment.