All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.4] befs fixes
@ 2004-08-13 18:56 O.Sezer
  0 siblings, 0 replies; only message in thread
From: O.Sezer @ 2004-08-13 18:56 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 120 bytes --]

various befs fixes. one is unused xattr code.
the other is unreached code fixed the same way in 2.6.

Özkan Sezer


[-- Attachment #2: befs-unreached.diff --]
[-- Type: text/plain, Size: 360 bytes --]

--- 27rc5~/fs/befs/linuxvfs.c	2003-06-13 17:51:37.000000000 +0300
+++ 27rc5/fs/befs/linuxvfs.c	2004-08-07 14:09:39.000000000 +0300
@@ -584,11 +577,11 @@
 		}
 	}
 	result[o] = '\0';
+	*out_len = o;
 
 	befs_debug(sb, "<--- utf2nls()");
 
 	return o;
-	*out_len = o;
 
       conv_err:
 	befs_error(sb, "Name using charecter set %s contains a charecter that "


[-- Attachment #3: befs-unused-xattr.diff --]
[-- Type: text/plain, Size: 1334 bytes --]

--- 27rc5~/fs/befs/linuxvfs.c	2003-06-13 17:51:37.000000000 +0300
+++ 27rc5/fs/befs/linuxvfs.c	2004-08-07 14:09:39.000000000 +0300
@@ -55,13 +55,6 @@
 static int befs_statfs(struct super_block *, struct statfs *);
 static int parse_options(char *, befs_mount_options *);
 
-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);
-
 /* slab cache for befs_inode_info objects */
 static kmem_cache_t *befs_inode_cachep;
 
@@ -675,35 +668,6 @@
 	return -EILSEQ;
 }
 
-/****Xattr****/
-
-static ssize_t
-befs_listxattr(struct dentry *dentry, char *buffer, size_t size)
-{
-	printk(KERN_ERR "befs_listxattr called\n");
-	return 0;
-}
-
-static ssize_t
-befs_getxattr(struct dentry *dentry, const char *name,
-	      void *buffer, size_t size)
-{
-	return 0;
-}
-
-static int
-befs_setxattr(struct dentry *dentry, const char *name,
-	      void *value, size_t size, int flags)
-{
-	return 0;
-}
-
-static int
-befs_removexattr(struct dentry *dentry, const char *name)
-{
-	return 0;
-}
-
 /****Superblock****/
 
 static int


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-13 19:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 18:56 [PATCH 2.4] befs fixes O.Sezer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.