mm: Fix comment before truncate_setsize()
authorJan Kara <jack@suse.cz>
Thu, 6 Nov 2014 21:29:25 +0000 (08:29 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 6 Nov 2014 21:29:25 +0000 (08:29 +1100)
commit77783d06427293b2d711c45cfd4abc6494a1af9c
tree5d8eed71173edc1dc005af5e2dc3136ce5512e72
parent5d11fb4b9a1d90983452c029b5e1377af78fda49
mm: Fix comment before truncate_setsize()

XFS doesn't always hold i_mutex when calling truncate_setsize() and it
uses a different lock to serialize truncates and writes. So fix the
comment before truncate_setsize().

Reported-by: Jan Beulich <JBeulich@suse.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
mm/truncate.c