Fix some indentation issues
[lwext4.git] / lwext4 / ext4.c
index 19264842e92786bb236b3c5d7b2d03e9d0e404dd..0cdf045afcff648175034de89e8574107fc5fd17 100644 (file)
@@ -732,30 +732,6 @@ static int ext4_generic_open2(ext4_file *f, const char *path, int flags,
                if (f->flags & O_APPEND)
                        f->fpos = f->fsize;
 
-               /* FIXME: Debugging code on EA. */
-               {
-                       int private_ret;
-                       struct ext4_xattr_ref xattr_ref;
-                       struct ext4_xattr_entry *found_entry = NULL;
-                       void *out_data = NULL;
-                       size_t out_len = 0;
-                       private_ret = ext4_fs_get_xattr_ref(&f->mp->fs, &ref,
-                                                         &xattr_ref);
-                       if (private_ret == EOK) {
-                               ext4_dmask_set(EXT4_DEBUG_ALL);
-                               private_ret = ext4_xattr_lookup(&xattr_ref,
-                                                               EXT4_XATTR_INDEX_POSIX_ACL_ACCESS,
-                                                               "",
-                                                               0,
-                                                               &found_entry,
-                                                               &out_data,
-                                                               &out_len);
-                               if (private_ret == EOK) {
-                                       private_ret;
-                               }
-                               ext4_fs_put_xattr_ref(&xattr_ref);
-                       }
-               }
        }
 
        r = ext4_fs_put_inode_ref(&ref);