mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
d5880f97c5
old dmfs-lv.c thats gone. o Dropped out support for multiple tables in line with ioctl interface o Some reordering to better support the userland library o Updated to 2.4.16 I'm fairly happy with the way that this is working now, so the next job is to start the integration with the ioctl interface so there is a single common dm.[ch] and selectable interfaces (fs or ioctl). Further improvements can be made even now, but I hope to wait until we've got this going and integrated and the libdm parts working as well before investigating other avenues.
56 lines
1.3 KiB
C
56 lines
1.3 KiB
C
/*
|
|
* dmfs-status.c
|
|
*
|
|
* Copyright (C) 2001 Sistina Software
|
|
*
|
|
* This software is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 2, or (at
|
|
* your option) any later version.
|
|
*
|
|
* This software is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with GNU CC; see the file COPYING. If not, write to
|
|
* the Free Software Foundation, 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#include <linux/config.h>
|
|
#include <linux/fs.h>
|
|
#include <linux/seq_file.h>
|
|
|
|
#include "dm.h"
|
|
#include "dmfs.h"
|
|
|
|
static void *s_start(struct seq_file *s, loff_t *pos)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static void *s_next(struct seq_file *s, void *v, loff_t *pos)
|
|
{
|
|
return NULL;
|
|
}
|
|
|
|
static void s_stop(struct seq_file *s, void *v)
|
|
{
|
|
}
|
|
|
|
static int s_show(struct seq_file *s, void *v)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
struct seq_operations dmfs_status_seq_ops = {
|
|
start: s_start,
|
|
next: s_next,
|
|
stop: s_stop,
|
|
show: s_show,
|
|
};
|
|
|
|
|