Repository navigation
Commit 0d7d5d6
Miklos Szeredi
ext4: rename: move EMLINK check up
Move checking i_nlink from after ext4_get_first_dir_block() to before. The
check doesn't rely on the result of that function and the function only
fails on fs corruption, so the order shouldn't matter.
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>1 parent c0d268c commit 0d7d5d6
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3084 | 3084 | | |
3085 | 3085 | | |
3086 | 3086 | | |
| 3087 | + | |
| 3088 | + | |
| 3089 | + | |
| 3090 | + | |
3087 | 3091 | | |
3088 | 3092 | | |
3089 | 3093 | | |
| |||
3093 | 3097 | | |
3094 | 3098 | | |
3095 | 3099 | | |
3096 | | - | |
3097 | | - | |
3098 | | - | |
3099 | | - | |
3100 | 3100 | | |
3101 | 3101 | | |
3102 | 3102 | | |
| |||
0 commit comments