diff options
author | Christoph Hellwig <hch@lst.de> | 2007-06-04 09:26:51 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-06 21:44:39 -0400 |
commit | ce92987baba60bc082b9eedddfaf4ae3f8435dac (patch) | |
tree | fdb0e2df0c63d33015bd7a9fda3869abb38b9344 /arch | |
parent | 8f18a158192ef6dc63a572bdbbdf5613cfbbe2e4 (diff) |
[POWERPC] spufs: Hook up spufs_release_mem
Currently spufs_mem_release and the mem file doesn't have any release
method hooked up, leading to leaks everytime is used.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/platforms/cell/spufs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/cell/spufs/file.c b/arch/powerpc/platforms/cell/spufs/file.c index 45614c73c78..89a50110a3c 100644 --- a/arch/powerpc/platforms/cell/spufs/file.c +++ b/arch/powerpc/platforms/cell/spufs/file.c | |||
@@ -217,6 +217,7 @@ unsigned long spufs_get_unmapped_area(struct file *file, unsigned long addr, | |||
217 | 217 | ||
218 | static const struct file_operations spufs_mem_fops = { | 218 | static const struct file_operations spufs_mem_fops = { |
219 | .open = spufs_mem_open, | 219 | .open = spufs_mem_open, |
220 | .release = spufs_mem_release, | ||
220 | .read = spufs_mem_read, | 221 | .read = spufs_mem_read, |
221 | .write = spufs_mem_write, | 222 | .write = spufs_mem_write, |
222 | .llseek = generic_file_llseek, | 223 | .llseek = generic_file_llseek, |