search for: ext2_fs

Displaying 20 results from an estimated 34 matches for "ext2_fs".

2010 Mar 20
2
[PATCH 4/4] btrfs-convert: split into convert/.
...lt;blkid/blkid.h> #include "kerncompat.h" +#include "convert.h" #include "ctree.h" #include "disk-io.h" #include "volumes.h" #include "transaction.h" #include "crc32c.h" #include "utils.h" -#include <ext2fs/ext2_fs.h> -#include <ext2fs/ext2fs.h> -#include <ext2fs/ext2_ext_attr.h> -struct convert_fs { - u64 total_bytes; - u64 blocksize; - const char *label; - - /* Close the FS */ - int (*close)(struct convert_fs *fs); - /* Mark free extents as dirty */ - int (*cache_free_extents)(struct conver...
2008 Jan 07
1
[PATCH]Add rollback support for the converter
...ert.c --- a/convert.c Fri Jan 04 11:29:55 2008 -0500 +++ b/convert.c Mon Jan 07 23:35:25 2008 +0800 @@ -33,6 +33,7 @@ #include "ctree.h" #include "disk-io.h" #include "transaction.h" +#include "crc32c.h" #include "utils.h" #include "ext2fs/ext2_fs.h" #include "ext2fs/ext2fs.h" @@ -43,7 +44,7 @@ * Open Ext2fs in readonly mode, read block allocation bitmap and * inode bitmap into memory. */ -static int open_ext2fs(char *name, ext2_filsys *ret_fs) +static int open_ext2fs(const char *name, ext2_filsys *ret_fs) { int mnt_...
2009 Jan 21
0
[PATCH] Progs: update convert for uninitialized block groups
...m> --- diff -urp btrfs-progs-unstable/convert.c btrfs-progs/convert.c --- btrfs-progs-unstable/convert.c 2009-01-13 18:55:53.214449273 +0800 +++ btrfs-progs/convert.c 2009-01-21 16:54:37.000000000 +0800 @@ -54,6 +54,7 @@ static int open_ext2fs(const char *name, { errcode_t ret; ext2_filsys ext2_fs; + ext2_ino_t ino; ret = ext2fs_open(name, 0, 0, 0, unix_io_manager, &ext2_fs); if (ret) { fprintf(stderr, "ext2fs_open: %s\n", error_message(ret)); @@ -71,6 +72,17 @@ static int open_ext2fs(const char *name, error_message(ret)); goto fail; } + /* + * search each bloc...
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...------------------------------------------------------ Paulo Cavalcanti (3): core: Add assert() macro ext2fs: Remove trailing whitespaces ext4: Add inline data support core/fs/ext2/bmap.c | 5 +++-- core/fs/ext2/ext2.c | 34 ++++++++++++++++++++++++++++------ core/fs/ext2/ext2_fs.h | 26 +++++++++++--------------- core/include/assert.h | 26 ++++++++++++++++++++++++++ 4 files changed, 68 insertions(+), 23 deletions(-) create mode 100644 core/include/assert.h diff --git a/core/fs/ext2/bmap.c b/core/fs/ext2/bmap.c index ef2bf64..a65b320 100644 --- a/core/fs/ext2/bmap.c +++...
2017 Aug 27
1
[PATCH] ext4: Fix 64bit feature
...ze field from superblock to correctly index and return block group descriptors. Cc: H. Peter Anvin <hpa at zytor.com> Cc: Gene Cumm <gene.cumm at gmail.com> Signed-off-by: Paulo Alcantara <pcacjr at zytor.com> --- core/fs/ext2/ext2.c | 23 ++++++++++++++--------- core/fs/ext2/ext2_fs.h | 1 + 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c index 76bd1d5a..4bc0a535 100644 --- a/core/fs/ext2/ext2.c +++ b/core/fs/ext2/ext2.c @@ -25,22 +25,17 @@ static enum dirent_type ext2_cvt_type(unsigned int d_file_type) return inode_...
2013 Nov 21
0
[PATCH] FSUUID for ext2 filesystem
The ext2 filesystem supports volume UUID now. The FSUUID variable can be set to kernel command line. Patch is based on FSUUID for FAT patch. Signed-off-by: Serj Kalichev <serj.kalichev at gmail.com> --- core/fs/ext2/ext2.c | 40 +++++++++++++++++++++++++++++++++++++++- core/fs/ext2/ext2_fs.h | 1 + 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/core/fs/ext2/ext2.c b/core/fs/ext2/ext2.c index df0856f..76bd1d5 100644 --- a/core/fs/ext2/ext2.c +++ b/core/fs/ext2/ext2.c @@ -312,6 +312,9 @@ static int ext2_fs_init(struct fs_info *fs) sbi->s_first_data_block = sb.s...
2005 Jan 12
3
syslinux build fails with 2.6 linux headers
...tory `/usr/src/syslinux-3.07-pre1/extlinux' gcc -Wp,-MT,extlinux.o,-MMD,.extlinux.o.d -W -Wall -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libfat -c -o extlinux.o extlinux.c In file included from /usr/include/linux/blockgroup_lock.h:10, from /usr/include/linux/ext2_fs_sb.h:19, from /usr/include/linux/ext2_fs.h:20, from extlinux.c:39: /usr/include/linux/spinlock.h: In function `bit_spin_lock': /usr/include/linux/spinlock.h:415: error: invalid type argument of `->' /usr/include/linux/spinlock.h: In function `bit_spin_tr...
2003 Jun 12
2
How can I read superblock(ext2, ext3)'s information?
Hello, I'd like to read superblock's information on Redhat 7.3, but I don't know how to do it. For example, Input : "/dev/sdj2" Output : ext2_super_block struct's s_wtime (I saw it at "/usr/include/ext2fs/ext2_fs.h") Input : "/dev/sdj1" Output : ext3_super_block struct's s_wtime (I saw it at "/usr/include/linux/ext3_fs.h") Please give me an answer...
2003 Apr 28
1
[PATCH] Fix the build for utils/fstype.h
.../fstype.c Mon Apr 28 15:10:56 2003 +++ b/utils/fstype.c Mon Apr 28 15:10:56 2003 @@ -19,7 +19,9 @@ #include <asm/byteorder.h> #include <linux/romfs_fs.h> +#define __KERNEL__ #include <linux/cramfs_fs.h> +#undef __KERNEL__ #include <linux/minix_fs.h> #include <linux/ext2_fs.h> #include "ext3_fs.h"
2006 Apr 02
1
Zeroing freed blocks
...{Opt_nouser_xattr, "nouser_xattr"}, {Opt_acl, "acl"}, @@ -395,6 +396,9 @@ static int parse_options (char * options case Opt_nobh: set_opt (sbi->s_mount_opt, NOBH); break; + case Opt_zerofree: + set_opt (sbi->s_mount_opt, ZEROFREE); + break; #ifdef CONFIG_EXT2_FS_XATTR case Opt_user_xattr: set_opt (sbi->s_mount_opt, XATTR_USER); --- linux-2.6.16/include/linux/ext2_fs.h.zerofree 2006-03-20 05:53:29.000000000 +0000 +++ linux-2.6.16/include/linux/ext2_fs.h 2006-04-02 09:21:52.000000000 +0100 @@ -310,6 +310,7 @@ struct ext2_inode { #define EXT2_MOUNT...
2005 Jan 03
2
(no subject)
...l -Wno-sign-compare -D_FILE_OFFSET_BITS=64 -g -Os -I. -I.. -I../libfat -c -o extlinux.o extlinux.c In file included from /home/balducci/tmp/install-us-d/syslinux/linux-2.6.10/include/linux/percpu_counter.h:13, from /home/balducci/tmp/install-us-d/syslinux/linux-2.6.10/include/linux/ext2_fs_sb.h:20, from /home/balducci/tmp/install-us-d/syslinux/linux-2.6.10/include/linux/ext2_fs.h:20, from extlinux.c:34: /home/balducci/tmp/install-us-d/syslinux/linux-2.6.10/include/linux/percpu.h: In function `__alloc_percpu': /home/balducci/tmp/install-us-d/sysli...
2011 Apr 27
2
btrfs-convert crashes
...r=0) at convert.c:2411 i =<value optimized out> fd = 6 ret =<value optimized out> blocksize = 4096 blocks = {9258, 9259, 9260, 9261, 9284, 9285, 9286} total_bytes =<value optimized out> super_bytenr = 37920768 ext2_fs = 0x622010 root = 0x633920 ext2_root =<value optimized out> #12 0x0000000000418333 in main (argc=<value optimized out>, argv=<value optimized out>) at convert.c:2867 ret =<value optimized out> packing = 1 noxattr = 0 data...
2000 Oct 28
1
No PCMCIA Support?
I see that the ext3 kernel being used is an enterprise kernel which doesn''t build the PCMCIA modules generally. Any chance of getting the SRPM so that testing on a laptop can actually be possible? It''s too much fun to have a laptop and just hit the power button and not have to fsck:) Jeremy -- Jeremy Katz katzj@linuxpower.org | jlkatz@eos.ncsu.edu http://linuxpower.org |
2007 Mar 03
0
Bug#413181: xen-3.0: should build-depend on e2fslibs-dev and libreiserfs0.3-dev
Package: xen-3.0 Version: 3.0.3-0-2 Severity: normal Hi, Currently, ext2fs and reiserfs pygrub modules are not necessarily built because setup.py can't find ext2_fs.h and reiserfs.h when e2fslibs-dev and libreiserfs0.3-dev are not installed. xen-3.0 should hence build-dep on e2fslibs-dev and libreiserfs0.3-dev Samuel -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, '...
2006 Feb 05
0
Add LUKS support to fstype, second version
...lesystem size (if known) * * We currently detect (in order): - * gzip, cramfs, romfs, xfs, minix, ext3, ext2, reiserfs, jfs + * gzip, cramfs, romfs, xfs, luks, minix, ext3, ext2, reiserfs, jfs * * MINIX, ext3 and Reiserfs bits are currently untested. */ @@ -29,6 +29,7 @@ #include "ext2_fs.h" #include "ext3_fs.h" #include "xfs_sb.h" +#include "luks_fs.h" /* * Slightly cleaned up version of jfs_superblock to @@ -168,6 +169,19 @@ return 0; } +static int luks_image(const unsigned char *buf, unsigned long long *blocks) +{ + const struct luks...
2007 Aug 10
1
[git patch] klibc small features
...of getpwuid() fstype: header inclusion guards fstype: add reiser4 support fstype: cleanup old comments toplevel .gitignore: start with a simple one and the diffstat .gitignore | 9 +++++++++ usr/include/pwd.h | 2 ++ usr/kinit/fstype/ext2_fs.h | 5 +++++ usr/kinit/fstype/ext3_fs.h | 5 +++++ usr/kinit/fstype/fstype.c | 18 ++++++++++++++++-- usr/kinit/fstype/fstype.h | 5 +---- usr/kinit/fstype/reiser4_fs.h | 31 +++++++++++++++++++++++++++++++ usr/kinit/fstype/reiserfs_fs.h | 5 +++++ usr/kinit/fstyp...
2006 Apr 27
1
Whats this for a block?
Hi, I have got a question concerning directory entries. I have the following block containing exactly the filenames I had in one specified folder on the same file system: http://www.sbox.tugraz.at/home/n/nobaq/ext2.dat I really hoped that this is an directory block which could point me to the inode of the files. But when I try to extract the data, I only get garbage. I'm reading the
2005 Apr 21
1
[PATCH]: ioctl wrappers for EXT3_IOC_GROUP_{EXTEND,ADD}
...heers, -- Guido --- linux-2.6.11.6/fs/compat_ioctl.c.orig 2005-04-21 11:06:23.000000000 +0200 +++ linux-2.6.11.6/fs/compat_ioctl.c 2005-04-21 11:06:07.000000000 +0200 @@ -48,7 +48,8 @@ #include <linux/tty.h> #include <linux/vt_kern.h> #include <linux/fb.h> -#include <linux/ext2_fs.h> +#include <linux/ext3_jbd.h> +#include <linux/ext3_fs.h> #include <linux/videodev.h> #include <linux/netdevice.h> #include <linux/raw.h> @@ -127,10 +127,13 @@ #ifdef CODE /* Aiee. Someone does not find a difference between int and long */ -#define EXT2_IOC...
2008 Sep 01
0
Feature request: preallocation of directories
...icense. */ #include <sys/types.h> #include <dirent.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <sys/param.h> #include <sys/stat.h> #include "ext2fs/ext2_fs.h" #ifdef __GNUC__ #define EXT2FS_ATTR(x) __attribute__(x) #else #define EXT2FS_ATTR(x) #endif #ifndef S_ISLNK /* So we can compile even with gcc-warn */ # ifdef __S_IFLNK # define S_ISLNK(mode) __S_ISTYPE((mode), __S_IFLNK) # else # define S_ISLNK(mode) 0 # endif #endif #include &quo...
2008 Nov 24
2
ext2 inode size patch - RE: PR kern/124621
A while back, I submitted a patch for PR kern/124621, which allows the mounting of an ext2(3) filesystem created with an inode size other than 128. The e2fsprogs' default is now 256, so file systems created on newer Linux distributions or with the port will not be mountable. I was hopeful this would get committed in time for 7.1-RELEASE (and 6.4-RELEASE), however the PR remains open. If