[Compile Regression in 2.4.25-pre8][PATCH 27/42]

From: Kronos
Date: Mon Feb 02 2004 - 15:44:13 EST



linuxvfs.c:682: warning: `befs_listxattr' defined but not used
linuxvfs.c:690: warning: `befs_getxattr' defined but not used
linuxvfs.c:697: warning: `befs_setxattr' defined but not used
linuxvfs.c:703: warning: `befs_removexattr' defined but not used

Extended attribute not implemented yet. Wrapped with #if 0 + comment.

diff -Nru -X dontdiff linux-2.4-vanilla/fs/befs/linuxvfs.c linux-2.4/fs/befs/linuxvfs.c
--- linux-2.4-vanilla/fs/befs/linuxvfs.c Fri Jun 13 16:51:37 2003
+++ linux-2.4/fs/befs/linuxvfs.c Sat Jan 31 18:17:28 2004
@@ -55,12 +55,15 @@
static int befs_statfs(struct super_block *, struct statfs *);
static int parse_options(char *, befs_mount_options *);

+/* Extended attributes aren't implemented yet */
+#if 0
static ssize_t befs_listxattr(struct dentry *dentry, char *buffer, size_t size);
static ssize_t befs_getxattr(struct dentry *dentry, const char *name,
void *buffer, size_t size);
static int befs_setxattr(struct dentry *dentry, const char *name, void *value,
size_t size, int flags);
static int befs_removexattr(struct dentry *dentry, const char *name);
+#endif

/* slab cache for befs_inode_info objects */
static kmem_cache_t *befs_inode_cachep;
@@ -677,6 +680,8 @@

/****Xattr****/

+/* Extended attributes aren't implemented yet */
+#if 0
static ssize_t
befs_listxattr(struct dentry *dentry, char *buffer, size_t size)
{
@@ -703,6 +708,7 @@
{
return 0;
}
+#endif

/****Superblock****/


--
Reply-To: kronos@xxxxxxxxxxxxxx
Home: http://kronoz.cjb.net
Dicono che il cane sia il miglior amico dell'uomo. Secondo me non e`
vero. Quanti dei vostri amici avete fatto castrare, recentemente?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/