commit | 6ae4c5a69877e5afb6ce63f7d82432133934073a | [log] [tgz] |
---|---|---|
author | Jan Kara <jack@suse.cz> | Mon Sep 05 23:21:43 2016 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Sep 05 23:21:43 2016 -0400 |
tree | 35ec57fcbcd85d5e0e6d87e1fec929fc2f97f89f | |
parent | 0b7b77791cc1d99cbca08d5bc8210e57e6165612 [diff] |
ext4: cleanup ext4_sync_parent() A condition !hlist_empty(&inode->i_dentry) is always true for open file. Just remove it. Also ext4_sync_parent() could use some explanation why races with rmdir() are not an issue - add a comment explaining that. Reported-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>