lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAGW2f1Gat4KJYOvrKmNRjuNeXcPJ75hpH2-ozzXPX7hCuo5GTg@mail.gmail.com>
Date:	Mon, 9 Sep 2013 20:21:21 +0000
From:	jon ernst <jonernst07@...il.com>
To:	Zheng Liu <gnehzuil.liu@...il.com>, linux-ext4@...r.kernel.org
Subject: [PATCH] make new_inode call a little bit clearer.

Zheng,
on e2fsprog pu branch,
I know it not worth to commit this alone, maybe you combine with you
future commit later.

thank you!

diff --git a/lib/ext2fs/inline_data.c b/lib/ext2fs/inline_data.c
index ea3736c..4bf19c1 100644
--- a/lib/ext2fs/inline_data.c
+++ b/lib/ext2fs/inline_data.c
@@ -933,7 +933,7 @@ static errcode_t test_file(ext2_filsys fs)
     char *buf, *cmpbuf;
     int inline_size;

-    retval = ext2fs_new_inode(fs, 2, 010755, 0, &newfile);
+    retval = ext2fs_new_inode(fs, EXT2_ROOT_INO, 010755, 0, &newfile);
     if (retval) {
         com_err("test_file", retval,
             "While creating a new file");



Best,
Jon
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ