diff options
author | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-20 15:00:51 +0100 |
---|---|---|
committer | Alex Auvolat <alex.auvolat@ens.fr> | 2015-02-20 15:00:51 +0100 |
commit | 2d4d64189501c253ed6a5b5ff5e27da1cb34407a (patch) | |
tree | 488ed008de322f0ffbfd1efdaec2041811b41a1c /src/kernel/user/nullfs.c | |
parent | 13db03fcc4a476c8881ccafe0852e72410c67b3a (diff) | |
download | kogata-2d4d64189501c253ed6a5b5ff5e27da1cb34407a.tar.gz kogata-2d4d64189501c253ed6a5b5ff5e27da1cb34407a.zip |
Think a bit ; ioctls only on open file descriptors.
Diffstat (limited to 'src/kernel/user/nullfs.c')
-rw-r--r-- | src/kernel/user/nullfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/user/nullfs.c b/src/kernel/user/nullfs.c index c3f83cf..0ca0073 100644 --- a/src/kernel/user/nullfs.c +++ b/src/kernel/user/nullfs.c @@ -53,7 +53,6 @@ static fs_node_ops_t nullfs_d_ops = { .move = nullfs_d_move, .create = nullfs_d_create, .dispose = nullfs_d_dispose, - .ioctl = 0, }; static fs_handle_ops_t nullfs_dh_ops = { @@ -61,6 +60,7 @@ static fs_handle_ops_t nullfs_dh_ops = { .close = nullfs_dh_close, .read = 0, .write = 0, + .ioctl = 0, }; static fs_node_ops_t nullfs_f_ops = { @@ -71,7 +71,6 @@ static fs_node_ops_t nullfs_f_ops = { .create = 0, .delete = 0, .move = 0, - .ioctl =0, }; static fs_handle_ops_t nullfs_fh_ops = { @@ -79,6 +78,7 @@ static fs_handle_ops_t nullfs_fh_ops = { .write = nullfs_fh_write, .close = nullfs_fh_close, .readdir = 0, + .ioctl =0, }; |