udf: Remove useless check in udf_adinicb_write_begin()
authorJan Kara <jack@suse.cz>
Tue, 6 Sep 2016 16:04:40 +0000 (18:04 +0200)
committerJan Kara <jack@suse.cz>
Tue, 6 Sep 2016 16:04:40 +0000 (18:04 +0200)
commitf27792f5b7e0ba8407fcdeabb5db778fe929ab78
tree34671f162509c9ee4914b30bfc27d25c8ebf9a35
parent3cd0126dca82ecba8b2a6bf5aca91454da0a0776
udf: Remove useless check in udf_adinicb_write_begin()

As Al properly points out, len is guaranteed to be smaller than
PAGE_SIZE when we reach udf_adinicb_write_begin() as otherwise we would
have converted the file to the normal format.

Reported-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/file.c