git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NFSD: Replace open-coded integer with macro
[safe/jmp/linux-2.6]
/
fs
/
hpfs
/
super.c
diff --git
a/fs/hpfs/super.c
b/fs/hpfs/super.c
index
f63a699
..
0d049b8
100644
(file)
--- a/
fs/hpfs/super.c
+++ b/
fs/hpfs/super.c
@@
-173,7
+173,7
@@
static void hpfs_destroy_inode(struct inode *inode)
kmem_cache_free(hpfs_inode_cachep, hpfs_i(inode));
}
kmem_cache_free(hpfs_inode_cachep, hpfs_i(inode));
}
-static void init_once(
struct kmem_cache *cachep,
void *foo)
+static void init_once(void *foo)
{
struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo;
{
struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo;
@@
-215,7
+215,7
@@
enum {
Opt_timeshift, Opt_err,
};
Opt_timeshift, Opt_err,
};
-static match_table_t tokens = {
+static
const
match_table_t tokens = {
{Opt_help, "help"},
{Opt_uid, "uid=%u"},
{Opt_gid, "gid=%u"},
{Opt_help, "help"},
{Opt_uid, "uid=%u"},
{Opt_gid, "gid=%u"},
@@
-475,8
+475,8
@@
static int hpfs_fill_super(struct super_block *s, void *options, int silent)
init_MUTEX(&sbi->hpfs_creation_de);
init_MUTEX(&sbi->hpfs_creation_de);
- uid = current
->uid
;
- gid = current
->gid
;
+ uid = current
_uid()
;
+ gid = current
_gid()
;
umask = current->fs->umask;
lowercase = 0;
conv = CONV_BINARY;
umask = current->fs->umask;
lowercase = 0;
conv = CONV_BINARY;