mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 21:51:40 +00:00
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>
This commit is contained in:
parent
bbcb03e3ce
commit
111d61a25e
@ -999,7 +999,7 @@ out:
|
||||
return rc;
|
||||
}
|
||||
|
||||
int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
|
||||
static int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
|
||||
struct kstat *stat)
|
||||
{
|
||||
struct ecryptfs_mount_crypt_stat *mount_crypt_stat;
|
||||
@ -1021,7 +1021,7 @@ int ecryptfs_getattr_link(struct vfsmount *mnt, struct dentry *dentry,
|
||||
return rc;
|
||||
}
|
||||
|
||||
int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
||||
static int ecryptfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
|
||||
struct kstat *stat)
|
||||
{
|
||||
struct kstat lower_stat;
|
||||
|
Loading…
Reference in New Issue
Block a user