Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
7f248a81
Commit
7f248a81
authored
Nov 03, 2005
by
Nathan Scott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[XFS] Cleanup cosmetic differences between source trees.
Signed-off-by:
Nathan Scott
<
nathans@sgi.com
>
parent
538524ae
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
35 deletions
+19
-35
fs/xfs/Makefile-linux-2.6
fs/xfs/Makefile-linux-2.6
+0
-1
fs/xfs/linux-2.6/kmem.c
fs/xfs/linux-2.6/kmem.c
+0
-1
fs/xfs/linux-2.6/kmem.h
fs/xfs/linux-2.6/kmem.h
+8
-8
fs/xfs/xfs_refcache.h
fs/xfs/xfs_refcache.h
+11
-25
No files found.
fs/xfs/Makefile-linux-2.6
View file @
7f248a81
...
@@ -109,7 +109,6 @@ xfs-y += xfs_alloc.o \
...
@@ -109,7 +109,6 @@ xfs-y += xfs_alloc.o \
xfs_dfrag.o \
xfs_dfrag.o \
xfs_log.o \
xfs_log.o \
xfs_log_recover.o \
xfs_log_recover.o \
xfs_macros.o \
xfs_mount.o \
xfs_mount.o \
xfs_rename.o \
xfs_rename.o \
xfs_trans.o \
xfs_trans.o \
...
...
fs/xfs/linux-2.6/kmem.c
View file @
7f248a81
...
@@ -27,7 +27,6 @@
...
@@ -27,7 +27,6 @@
#define MAX_VMALLOCS 6
#define MAX_VMALLOCS 6
#define MAX_SLAB_SIZE 0x20000
#define MAX_SLAB_SIZE 0x20000
void
*
void
*
kmem_alloc
(
size_t
size
,
unsigned
int
__nocast
flags
)
kmem_alloc
(
size_t
size
,
unsigned
int
__nocast
flags
)
{
{
...
...
fs/xfs/linux-2.6/kmem.h
View file @
7f248a81
...
@@ -69,7 +69,7 @@ typedef unsigned long xfs_pflags_t;
...
@@ -69,7 +69,7 @@ typedef unsigned long xfs_pflags_t;
static
__inline
gfp_t
kmem_flags_convert
(
unsigned
int
__nocast
flags
)
static
__inline
gfp_t
kmem_flags_convert
(
unsigned
int
__nocast
flags
)
{
{
gfp_t
lflags
=
__GFP_NOWARN
;
/* we'll report problems, if need be */
gfp_t
lflags
=
__GFP_NOWARN
;
/* we'll report problems, if need be */
#ifdef DEBUG
#ifdef DEBUG
if
(
unlikely
(
flags
&
~
(
KM_SLEEP
|
KM_NOSLEEP
|
KM_NOFS
|
KM_MAYFAIL
)))
{
if
(
unlikely
(
flags
&
~
(
KM_SLEEP
|
KM_NOSLEEP
|
KM_NOFS
|
KM_MAYFAIL
)))
{
...
@@ -88,7 +88,7 @@ static __inline gfp_t kmem_flags_convert(unsigned int __nocast flags)
...
@@ -88,7 +88,7 @@ static __inline gfp_t kmem_flags_convert(unsigned int __nocast flags)
if
(
PFLAGS_TEST_FSTRANS
()
||
(
flags
&
KM_NOFS
))
if
(
PFLAGS_TEST_FSTRANS
()
||
(
flags
&
KM_NOFS
))
lflags
&=
~
__GFP_FS
;
lflags
&=
~
__GFP_FS
;
}
}
return
lflags
;
return
lflags
;
}
}
...
@@ -111,13 +111,13 @@ kmem_zone_destroy(kmem_zone_t *zone)
...
@@ -111,13 +111,13 @@ kmem_zone_destroy(kmem_zone_t *zone)
BUG
();
BUG
();
}
}
extern
void
*
kmem_zone_zalloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_zalloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_alloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_zone_alloc
(
kmem_zone_t
*
,
unsigned
int
__nocast
);
extern
void
*
kmem_alloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_alloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_realloc
(
void
*
,
size_t
,
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_realloc
(
void
*
,
size_t
,
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_zalloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
*
kmem_zalloc
(
size_t
,
unsigned
int
__nocast
);
extern
void
kmem_free
(
void
*
,
size_t
);
extern
void
kmem_free
(
void
*
,
size_t
);
typedef
struct
shrinker
*
kmem_shaker_t
;
typedef
struct
shrinker
*
kmem_shaker_t
;
typedef
int
(
*
kmem_shake_func_t
)(
int
,
gfp_t
);
typedef
int
(
*
kmem_shake_func_t
)(
int
,
gfp_t
);
...
...
fs/xfs/xfs_refcache.h
View file @
7f248a81
/*
/*
* Copyright (c) 2000-2003 Silicon Graphics, Inc. All Rights Reserved.
* Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
* All Rights Reserved.
*
*
* This program is free software; you can redistribute it and/or
modify it
* This program is free software; you can redistribute it and/or
*
under the terms of version 2
of the GNU General Public License as
*
modify it under the terms
of the GNU General Public License as
* published by the Free Software Foundation.
* published by the Free Software Foundation.
*
*
* This program is distributed in the hope that it would be useful, but
* This program is distributed in the hope that it would be useful,
* WITHOUT ANY WARRANTY; without even the implied warranty of
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*
* Further, this software is distributed without any warranty that it is
* You should have received a copy of the GNU General Public License
* free of the rightful claim of any third person regarding infringement
* along with this program; if not, write the Free Software Foundation,
* or the like. Any license provided herein, whether implied or
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
* otherwise, applies only to this software file. Patent licenses, if
* any, provided herein do not apply to combinations of this program with
* other software, or any other product whatsoever.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write the Free Software Foundation, Inc., 59
* Temple Place - Suite 330, Boston MA 02111-1307, USA.
*
* Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
* Mountain View, CA 94043, or:
*
* http://www.sgi.com
*
* For further information regarding this notice, see:
*
* http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
*/
*/
#ifndef __XFS_REFCACHE_H__
#ifndef __XFS_REFCACHE_H__
#define __XFS_REFCACHE_H__
#define __XFS_REFCACHE_H__
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment