summaryrefslogtreecommitdiffstats
path: root/fs/ramfs/internal.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-01-24 00:54:55 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:36:58 +0100
commit87e06aa3a7e5f9fbc2f5215c4ba9c4a42b404192 (patch)
treed7b422defb1e1320ff7381c5bde0b47b689e22fd /fs/ramfs/internal.h
parentfs/ramfs/file-nommu.c: make ramfs_nommu_get_unmapped_area() and ramfs_nommu_m... (diff)
downloadlinux-87e06aa3a7e5f9fbc2f5215c4ba9c4a42b404192.tar.xz
linux-87e06aa3a7e5f9fbc2f5215c4ba9c4a42b404192.zip
fs/ramfs: move ramfs_aops to inode.c
ramfs_aops is identical in file-mmu.c and file-nommu.c. Thus move it to fs/ramfs/inode.c and make it static. Signed-off-by: Axel Lin <axel.lin@ingics.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--fs/ramfs/internal.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ramfs/internal.h b/fs/ramfs/internal.h
index 6b330639b51d..a9d8ae88fa15 100644
--- a/fs/ramfs/internal.h
+++ b/fs/ramfs/internal.h
@@ -10,5 +10,4 @@
*/
-extern const struct address_space_operations ramfs_aops;
extern const struct inode_operations ramfs_file_inode_operations;