commit | 0d7d5d678bf9e07dffe22b018cf035d511d9e86e | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:44 2014 +0200 |
committer | Miklos Szeredi <mszeredi@suse.cz> | Tue Apr 01 17:08:44 2014 +0200 |
tree | 400d85b05ea6b1af9bd39ce75d48de9269d8cd06 | |
parent | c0d268c3661efdfc76dde90ff2bc12806410cd0a [diff] |
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>