summaryrefslogtreecommitdiff
path: root/fs/ecryptfs/inode.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@canonical.com>2013-01-17 12:19:35 -0800
committerTyler Hicks <tyhicks@canonical.com>2013-01-17 12:20:47 -0800
commit111d61a25ec11c1837ac0fd81bf4b845d3327fb7 (patch)
tree78d6ac89f80be09afde45d38538b9dd02c4b4b50 /fs/ecryptfs/inode.c
parentbbcb03e3ce8c76a4ecf0ea7d365f9f0e913fc329 (diff)
downloadlinux-3.10-111d61a25ec11c1837ac0fd81bf4b845d3327fb7.tar.gz
linux-3.10-111d61a25ec11c1837ac0fd81bf4b845d3327fb7.tar.bz2
linux-3.10-111d61a25ec11c1837ac0fd81bf4b845d3327fb7.zip
eCryptfs: Fix -Wmissing-prototypes warnings
Mark two inode operation fuctions as static. Fixes warnings when building with W=1. Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Diffstat (limited to 'fs/ecryptfs/inode.c')
-rw-r--r--fs/ecryptfs/inode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ecryptfs/inode.c b/fs/ecryptfs/inode.c
index cc7709e7c50..ddd961ba2cf 100644
--- a/fs/ecryptfs/inode.c
+++ b/fs/ecryptfs/inode.c
@@ -999,8 +999,8 @@ out:
return rc;
}
-int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
- struct kstat *stat)
+static int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
+ struct kstat *stat)
{
struct ecryptfs_mount_crypt_stat *mount_crypt_stat;
int rc = 0;
@@ -1021,8 +1021,8 @@ int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
return rc;
}
-int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
- struct kstat *stat)
+static int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
+ struct kstat *stat)
{
struct kstat lower_stat;
int rc;