]> git.ipfire.org Git - thirdparty/kernel/linux.git/blobdiff - fs/ext4/ext4.h
ext4: add a new spinlock i_raw_lock to protect the ext4's raw inode
[thirdparty/kernel/linux.git] / fs / ext4 / ext4.h
index 86c2cda208ea5b64ecbd5bf9e85f100663503d7d..1d08a1b51bdd806127b6582b6a8b622cee0765f6 100644 (file)
@@ -875,6 +875,8 @@ struct ext4_inode_info {
        struct inode vfs_inode;
        struct jbd2_inode *jinode;
 
+       spinlock_t i_raw_lock;  /* protects updates to the raw inode */
+
        /*
         * File creation time. Its function is same as that of
         * struct timespec i_{a,c,m}time in the generic inode.