summaryrefslogtreecommitdiffstats
path: root/fs/afs/inode.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-02-10 10:00:22 +0000
committerDavid Howells <dhowells@redhat.com>2020-06-09 18:17:14 +0100
commitc68421bbad755a280851afff0fb236dd4e53e684 (patch)
treec0159a2b7ced5da9dfcf9e4791278ed6f5b28260 /fs/afs/inode.c
parent4a06fa5403832ce65986654e46042796f4e6123d (diff)
downloadlinux-c68421bbad755a280851afff0fb236dd4e53e684.tar.gz
linux-c68421bbad755a280851afff0fb236dd4e53e684.tar.bz2
linux-c68421bbad755a280851afff0fb236dd4e53e684.zip
afs: Make afs_zap_data() static
Make afs_zap_data() static as it's only used in the file in which it is defined. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/afs/inode.c')
-rw-r--r--fs/afs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/afs/inode.c b/fs/afs/inode.c
index 7dde703df40c..cd0a0060950b 100644
--- a/fs/afs/inode.c
+++ b/fs/afs/inode.c
@@ -538,7 +538,7 @@ error:
* mark the data attached to an inode as obsolete due to a write on the server
* - might also want to ditch all the outstanding writes and dirty pages
*/
-void afs_zap_data(struct afs_vnode *vnode)
+static void afs_zap_data(struct afs_vnode *vnode)
{
_enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode);