search for: dd_dir

Displaying 4 results from an estimated 4 matches for "dd_dir".

Did you mean: add_dir
2010 Mar 07
2
[PATCH] fs: fix call to fs_ops->readdir
...east PXELINUX doesn't implement it. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/core/fs/readdir.c b/core/fs/readdir.c index d2b112b..d20fc33 100644 --- a/core/fs/readdir.c +++ b/core/fs/readdir.c @@ -28,8 +28,11 @@ struct dirent *readdir(DIR *dir) struct file *dd_dir = (struct file *)dir; int rv = -1; - if (dd_dir) - rv = dd_dir->fs->fs_ops->readdir(dd_dir, &buf); + if (dd_dir) { + if (dd_dir->fs->fs_ops->readdir) { + rv = dd_dir->fs->fs_ops->readdir(dd_dir, &buf); + } + } return rv...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...if (rv < 0) return NULL; @@ -24,6 +28,9 @@ __export DIR *opendir(const char *path) return NULL; } + restore_fs(); + restore_chdir_start(); + return (DIR *)file; } @@ -35,7 +42,7 @@ __export struct dirent *readdir(DIR *dir) static struct dirent buf; struct file *dd_dir = (struct file *)dir; int rv = -1; - + if (dd_dir) { if (dd_dir->fs->fs_ops->readdir) { rv = dd_dir->fs->fs_ops->readdir(dd_dir, &buf); diff --git a/core/include/multifs.h b/core/include/multifs.h new file mode 100644 index 0000000..a62a115 --- /de...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address