login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
29
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in Userspace
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in Userspace
Date: Thursday, August 28, 2008 - 7:20 pm
On Fri, 29 Aug 2008 04:09:16 +0200 Tejun Heo <tj@kernel.org> wrote:
quoted text
> >> +static int __init cuse_init(void) > >> +{ > >> + int rc; > >> + > >> + /* inherit and extend fuse_dev_operations */ > >> + cuse_channel_fops = fuse_dev_operations; > >> + cuse_channel_fops.owner = THIS_MODULE; > >> + cuse_channel_fops.open = cuse_channel_open; > >> + cuse_channel_fops.release = cuse_channel_release; > > > > Can't these initialisations be performed at compile-time? > > Only by listing every member. I can't think of a good way to inherit > all and then override some in C initialization. Hmmm.... then again, > maybe it's better to list every member.
oop, I failed to note the struct assignment there. The usual rule of thumb applies: I can be safely ignored. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCHSET] CUSE: implement CUSE
, Tejun Heo
, (Thu Aug 28, 11:18 am)
[PATCH 1/5] FUSE: add fuse_ prefix to several functions
, Tejun Heo
, (Thu Aug 28, 11:19 am)
[PATCH 2/5] FUSE: export symbols to be used by CUSE
, Tejun Heo
, (Thu Aug 28, 11:19 am)
[PATCH 3/5] FUSE: separate out fuse_conn_init() from new_c ...
, Tejun Heo
, (Thu Aug 28, 11:19 am)
[PATCH 4/5] FUSE: add fuse_conn->release()
, Tejun Heo
, (Thu Aug 28, 11:19 am)
[PATCH 5/5] CUSE: implement CUSE - Character device in Use ...
, Tejun Heo
, (Thu Aug 28, 11:19 am)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Andrew Morton
, (Thu Aug 28, 1:07 pm)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Greg KH
, (Thu Aug 28, 3:15 pm)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Andrew Morton
, (Thu Aug 28, 3:32 pm)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Tejun Heo
, (Thu Aug 28, 7:09 pm)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Andrew Morton
, (Thu Aug 28, 7:20 pm)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Mike Hommey
, (Thu Aug 28, 10:50 pm)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Tejun Heo
, (Thu Aug 28, 10:52 pm)
Re: [PATCH 5/5] CUSE: implement CUSE - Character device in ...
, Nick Bowler
, (Fri Aug 29, 8:27 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Archie Cobbs
, (Fri Aug 29, 11:50 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Tejun Heo
, (Sat Aug 30, 5:30 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Goswin von Brederlow
, (Sat Aug 30, 9:35 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Mike Hommey
, (Sat Aug 30, 11:56 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Archie Cobbs
, (Sat Aug 30, 3:39 pm)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, hooanon05
, (Sat Aug 30, 9:52 pm)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Goswin von Brederlow
, (Mon Sep 1, 12:20 am)
Re: [fuse-devel] [PATCHSET] CUSE: implement CUSE
, Mike Hommey
, (Mon Sep 1, 12:38 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tony Luck
Re: Hardware Error Kernel Mini-Summit
James Bottomley
Re: [PATCH -mm 1/2] scsi: remove dma_is_consistent usage in 53c700
Andrey Borzenkov
Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from...
Linus Torvalds
Linux 2.6.26-rc6
Jeffrey V. Merkey
Re: Versioning file system
git
:
Morten Welinder
Re: [PATCH] use xrealloc in help.c
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Jörg Sommer
[PATCH v2 08/13] Unify the lenght of $SHORT* and the commits in the TODO list
Boyd Lynn Gerber
Re: [VOTE] git versus mercurial
Stefan Näwe
Re: [PATCH] git-gui: use --exclude-standard to check for untracked files
linux-netdev
:
Andreas Sundstrom
Re: ~60k interrupts/sec for 1Gb/s iperf with r8169
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Denys Fedoryshchenko
Re: circular locking, mirred, 2.6.24.2
David Miller
Re: [PATCH -next] sfc: Use correct macro to set event bitfield
David Miller
Re: [PATCH] ipv6: fix display of local and remote sit endpoints
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
m68k: amiga - Mouse platform device conversion
Linux Kernel Mailing List
drivers/acpi: use kasprintf
openbsd-misc
:
frantisek holop
Re: mount ffs as msdos, system hangs
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Damien Miller
Re: Patching a SSH 'Weakness'
Colocation donated by:
Syndicate