fs: encryptfs: fix misleading intendation
authorAnan Jaser <ananjaser@gmail.com>
Tue, 22 Sep 2020 22:56:08 +0000 (02:56 +0400)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:03 +0000 (21:14 +0000)
Change-Id: I7d864c8141156ef8d6e5c08ad2829a13adaa00a7

fs/ecryptfs/ecryptfs_dek.c

index 7cda09b0bf53800e507002c50947a7e4f4fdd291..0b3615ab8dd7186f598c6a196ee3a57ac1503151 100644 (file)
@@ -368,8 +368,9 @@ static int ecryptfs_update_crypt_flag(struct dentry *dentry, enum sdp_op operati
     if(list_empty(&crypt_stat->keysig_list))
         ecryptfs_dek_copy_mount_wide_sigs_to_inode_sigs(crypt_stat, mount_crypt_stat);
 
-       mutex_lock(&crypt_stat->cs_mutex);
-       rc = ecryptfs_get_lower_file(dentry, inode);
+    mutex_lock(&crypt_stat->cs_mutex);
+    rc = ecryptfs_get_lower_file(dentry, inode);
+
        if (rc) {
                mutex_unlock(&crypt_stat->cs_mutex);
                DEK_LOGE("ecryptfs_get_lower_file rc=%d\n", rc);
@@ -414,7 +415,7 @@ out:
        ecryptfs_put_lower_file(inode);
        fsstack_copy_attr_all(inode, lower_inode);
        return rc;
-}
+       }
 
 void ecryptfs_fs_request_callback(int opcode, int ret, unsigned long ino) {
     DEK_LOGD("%s opcode<%d> ret<%d> ino<%ld>\n", __func__, opcode, ret, ino);