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)
commit49521de119d326d04fb3736ab827e12e1de966d0
treea57de8b903d2f6b43b8ec689b617ba2dc333e98e
parentf2a6cc1f146465e13f31d9163d542d1facf4e203
udf: Remove BKL from udf_update_inode

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>
fs/udf/inode.c
fs/udf/udfdecl.h