diff options
author | Jan Kara <jack@suse.cz> | 2016-09-05 23:21:43 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-09-05 23:21:43 -0400 |
commit | 6ae4c5a69877e5afb6ce63f7d82432133934073a (patch) | |
tree | 35ec57fcbcd85d5e0e6d87e1fec929fc2f97f89f /fs/ext4/super.c | |
parent | 0b7b77791cc1d99cbca08d5bc8210e57e6165612 (diff) | |
download | linux-6ae4c5a69877e5afb6ce63f7d82432133934073a.tar.bz2 |
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>
Diffstat (limited to 'fs/ext4/super.c')
0 files changed, 0 insertions, 0 deletions