summaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
authorAdrian Bunk2008-02-06 10:38:32 +0100
committerLinus Torvalds2008-02-06 19:41:12 +0100
commit7896b631823c6e8f1a520d89390624a51445840e (patch)
tree2f9f2151802d21ded60fc6f53df4daeee3eb054e /fs/ecryptfs/inode.c
parentdrivers/isdn/hardware/eicon/debug.c: fix uninitialized var warning (diff)
downloadkernel-qcow2-linux-7896b631823c6e8f1a520d89390624a51445840e.tar.gz
kernel-qcow2-linux-7896b631823c6e8f1a520d89390624a51445840e.tar.xz
kernel-qcow2-linux-7896b631823c6e8f1a520d89390624a51445840e.zip
fs/ecryptfs/: possible cleanups
- make the following needlessly global code static: - crypto.c:ecryptfs_lower_offset_for_extent() - crypto.c:key_tfm_list - crypto.c:key_tfm_list_mutex - inode.c:ecryptfs_getxattr() - main.c:ecryptfs_init_persistent_file() - remove the no longer used mmap.c:ecryptfs_lower_page_cache - #if 0 the unused read_write.c:ecryptfs_read() Signed-off-by: Adrian Bunk <bunk@kernel.org> Cc: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r--fs/ecryptfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index 5a719180983c..ed0ed849ee28 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -954,7 +954,7 @@ out:
return rc;
}
-ssize_t
+static ssize_t
ecryptfs_getxattr(struct dentry *dentry, const char *name, void *value,
size_t size)
{