From: "O.Sezer" <sezeroz@ttnet.net.tr>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2.4] befs fixes
Date: Fri, 13 Aug 2004 21:56:10 +0300 [thread overview]
Message-ID: <411D0ECA.70201@ttnet.net.tr> (raw)
[-- 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
reply other threads:[~2004-08-13 19:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=411D0ECA.70201@ttnet.net.tr \
--to=sezeroz@ttnet.net.tr \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®