]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: add a new spinlock i_raw_lock to protect the ext4's raw inode
authorTheodore Ts'o <tytso@mit.edu>
Mon, 21 Apr 2014 18:37:55 +0000 (14:37 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 21 Apr 2014 18:37:55 +0000 (14:37 -0400)
commitc4865210b380172f42f6cf43aa8d8dfde01903a2
tree5737ca8bd3f24d2af02c269e0be06ee255157fc0
parent95e4ee86b144b0ecc2710eb850f7dd95ebfbba0b
ext4: add a new spinlock i_raw_lock to protect the ext4's raw inode

To avoid potential data races, use a spinlock which protects the raw
(on-disk) inode.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
fs/ext4/ext4.h
fs/ext4/inode.c
fs/ext4/super.c