summaryrefslogtreecommitdiff
path: root/fs/cifs/inode.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-02-27 05:35:17 +0000
committerSteve French <sfrench@us.ibm.com>2007-02-27 05:35:17 +0000
commit99ee4dbd7c99c27129a8e2026003a7680878345f (patch)
tree66bd113a21b22981d6be69acfcbe64a3d2b27559 /fs/cifs/inode.c
parent1ae1bc44d44dd84cc00fb9edbba27458771d860d (diff)
downloadlwn-99ee4dbd7c99c27129a8e2026003a7680878345f.tar.gz
lwn-99ee4dbd7c99c27129a8e2026003a7680878345f.zip
[CIFS] Remove some unused functions/declarations
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r--fs/cifs/inode.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c
index 03ade0f972b4..86b9dbbd8441 100644
--- a/fs/cifs/inode.c
+++ b/fs/cifs/inode.c
@@ -1134,7 +1134,7 @@ static int cifs_truncate_page(struct address_space *mapping, loff_t from)
return rc;
}
-int cifs_vmtruncate(struct inode * inode, loff_t offset)
+static int cifs_vmtruncate(struct inode * inode, loff_t offset)
{
struct address_space *mapping = inode->i_mapping;
unsigned long limit;
@@ -1431,9 +1431,11 @@ cifs_setattr_exit:
return rc;
}
+#if 0
void cifs_delete_inode(struct inode *inode)
{
cFYI(1, ("In cifs_delete_inode, inode = 0x%p", inode));
/* may have to add back in if and when safe distributed caching of
directories added e.g. via FindNotify */
}
+#endif