diff options
| author | Takashi Sato <[email protected]> | 2009-01-10 00:40:59 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2009-01-10 00:54:42 +0000 |
| commit | fcccf502540e3d752d33b2d8e976034dee81f9f7 (patch) | |
| tree | 401be4ad2fc3c535a2fc77e413b1be4a736f320c /drivers/message/fusion/lsi/mpi_raid.h | |
| parent | filesystem freeze: add error handling of write_super_lockfs/unlockfs (diff) | |
| download | kernel-fcccf502540e3d752d33b2d8e976034dee81f9f7.tar.gz kernel-fcccf502540e3d752d33b2d8e976034dee81f9f7.zip | |
filesystem freeze: implement generic freeze feature
The ioctls for the generic freeze feature are below.
o Freeze the filesystem
int ioctl(int fd, int FIFREEZE, arg)
fd: The file descriptor of the mountpoint
FIFREEZE: request code for the freeze
arg: Ignored
Return value: 0 if the operation succeeds. Otherwise, -1
o Unfreeze the filesystem
int ioctl(int fd, int FITHAW, arg)
fd: The file descriptor of the mountpoint
FITHAW: request code for unfreeze
arg: Ignored
Return value: 0 if the operation succeeds. Otherwise, -1
Error number: If the filesystem has already been unfrozen,
errno is set to EINVAL.
[[email protected]: fix CONFIG_BLOCK=n]
Signed-off-by: Takashi Sato <[email protected]>
Signed-off-by: Masayuki Hamaguchi <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dave Kleikamp <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Alasdair G Kergon <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'drivers/message/fusion/lsi/mpi_raid.h')
0 files changed, 0 insertions, 0 deletions
