udf: Do not read inode before writing it
authorJan Kara <jack@suse.cz>
Fri, 8 Jan 2010 15:52:59 +0000 (16:52 +0100)
committerJan Kara <jack@suse.cz>
Tue, 9 Mar 2010 16:15:17 +0000 (17:15 +0100)
commit5833ded9b6d783b8446349bada08f0f5e4227895
tree6f86b88c0c446b4c62cd38b8cd9f4432331216f6
parentaae917cd188f397e9223001d9f6c0adfb339fd64
udf: Do not read inode before writing it

We needlessly read inode in udf_update_inode just before zeroing out the
contents of the buffer. Fix it.

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