udf: Remove BKL from udf_update_inode
authorJan Kara <jack@suse.cz>
Wed, 20 Oct 2010 15:42:44 +0000 (17:42 +0200)
committerJan Kara <jack@suse.cz>
Thu, 6 Jan 2011 16:03:54 +0000 (17:03 +0100)
udf_update_inode() does not need BKL since on-disk inode modifications are
protected by the buffer lock and reading of values of in-memory inode is
safe without any lock. In some cases we can write inconsistent inode state
to disk but in that case inode will be marked dirty and overwritten later.

Also make unnecessarily global udf_sync_inode() static.

Signed-off-by: Jan Kara <jack@suse.cz>

No differences found