udf: Remove checking of existence of filename in udf_add_entry()
authorJan Kara <jack@suse.cz>
Tue, 4 Mar 2008 12:10:29 +0000 (13:10 +0100)
committerJan Kara <jack@suse.cz>
Thu, 17 Apr 2008 12:23:03 +0000 (14:23 +0200)
commit9bf2c6b834f4caad82b3e2d962c266153d39e411
tree5386b3eb6dec103815b81e92d5977a59ef5c4ec9
parent200a3592cda7bfc010d30c0b1eb8eff3791e9ba9
udf: Remove checking of existence of filename in udf_add_entry()

We don't have to check whether a directory entry already exists in a directory
when creating a new one since we've already checked that earlier by lookup and
we are holding directory i_mutex all the time.

Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/namei.c