aboutsummaryrefslogtreecommitdiff
path: root/kernel/task_work.c
diff options
context:
space:
mode:
authorJan Kara2016-09-05 23:21:43 -0400
committerTheodore Ts'o2016-09-05 23:21:43 -0400
commit6ae4c5a69877e5afb6ce63f7d82432133934073a (patch)
tree35ec57fcbcd85d5e0e6d87e1fec929fc2f97f89f /kernel/task_work.c
parent0b7b77791cc1d99cbca08d5bc8210e57e6165612 (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>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions