Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
3f02d072
Commit
3f02d072
authored
Jan 15, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivial
parents
0238cb4e
fb453d4b
Changes
41
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
306 additions
and
334 deletions
+306
-334
Documentation/DocBook/videobook.tmpl
Documentation/DocBook/videobook.tmpl
+2
-2
Documentation/cachetlb.txt
Documentation/cachetlb.txt
+1
-1
Documentation/hpet.txt
Documentation/hpet.txt
+1
-1
Documentation/input/ff.txt
Documentation/input/ff.txt
+1
-1
Documentation/ioctl/hdio.txt
Documentation/ioctl/hdio.txt
+1
-1
Documentation/laptop-mode.txt
Documentation/laptop-mode.txt
+1
-1
Documentation/networking/sk98lin.txt
Documentation/networking/sk98lin.txt
+1
-1
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
+1
-1
Documentation/x86_64/boot-options.txt
Documentation/x86_64/boot-options.txt
+1
-1
MAINTAINERS
MAINTAINERS
+2
-1
arch/i386/kernel/vm86.c
arch/i386/kernel/vm86.c
+1
-1
arch/um/include/sysdep-i386/checksum.h
arch/um/include/sysdep-i386/checksum.h
+2
-2
drivers/block/floppy.c
drivers/block/floppy.c
+0
-1
drivers/char/Kconfig
drivers/char/Kconfig
+0
-10
drivers/char/ftape/Kconfig
drivers/char/ftape/Kconfig
+1
-11
drivers/char/stallion.c
drivers/char/stallion.c
+64
-64
drivers/net/Kconfig
drivers/net/Kconfig
+0
-4
drivers/net/wan/lmc/lmc_main.c
drivers/net/wan/lmc/lmc_main.c
+1
-1
drivers/net/wireless/Kconfig
drivers/net/wireless/Kconfig
+2
-6
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_erp.c
+1
-1
drivers/scsi/FlashPoint.c
drivers/scsi/FlashPoint.c
+1
-1
drivers/scsi/gdth.c
drivers/scsi/gdth.c
+1
-1
fs/efs/super.c
fs/efs/super.c
+3
-2
fs/sysv/ChangeLog
fs/sysv/ChangeLog
+1
-1
fs/xfs/quota/xfs_qm.c
fs/xfs/quota/xfs_qm.c
+57
-57
fs/xfs/xfs_dir_leaf.c
fs/xfs/xfs_dir_leaf.c
+48
-48
fs/xfs/xfs_fsops.c
fs/xfs/xfs_fsops.c
+2
-2
fs/xfs/xfs_log.c
fs/xfs/xfs_log.c
+26
-26
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.c
+33
-33
fs/xfs/xfs_trans_item.c
fs/xfs/xfs_trans_item.c
+11
-11
fs/xfs/xfs_vnodeops.c
fs/xfs/xfs_vnodeops.c
+29
-30
include/asm-v850/ptrace.h
include/asm-v850/ptrace.h
+1
-1
include/linux/pfkeyv2.h
include/linux/pfkeyv2.h
+1
-1
init/Kconfig
init/Kconfig
+1
-1
ipc/msg.c
ipc/msg.c
+1
-1
ipc/sem.c
ipc/sem.c
+1
-1
ipc/util.c
ipc/util.c
+1
-1
ipc/util.h
ipc/util.h
+1
-1
kernel/power/Kconfig
kernel/power/Kconfig
+1
-1
kernel/printk.c
kernel/printk.c
+1
-1
sound/oss/opl3sa2.c
sound/oss/opl3sa2.c
+1
-1
No files found.
Documentation/DocBook/videobook.tmpl
View file @
3f02d072
...
...
@@ -229,7 +229,7 @@ int __init myradio_init(struct video_init *v)
static int users = 0;
static int radio_open(stuct video_device *dev, int flags)
static int radio_open(st
r
uct video_device *dev, int flags)
{
if(users)
return -EBUSY;
...
...
@@ -949,7 +949,7 @@ int __init mycamera_init(struct video_init *v)
static int users = 0;
static int camera_open(stuct video_device *dev, int flags)
static int camera_open(st
r
uct video_device *dev, int flags)
{
if(users)
return -EBUSY;
...
...
Documentation/cachetlb.txt
View file @
3f02d072
...
...
@@ -136,7 +136,7 @@ changes occur:
8) void lazy_mmu_prot_update(pte_t pte)
This interface is called whenever the protection on
any user PTEs change. This interface provides a notification
to architecture specific code to take appropiate action.
to architecture specific code to take approp
r
iate action.
Next, we have the cache flushing interfaces. In general, when Linux
...
...
Documentation/hpet.txt
View file @
3f02d072
...
...
@@ -2,7 +2,7 @@
The High Precision Event Timer (HPET) hardware is the future replacement
for the 8254 and Real Time Clock (RTC) periodic timer functionality.
Each HPET can have up t
w
o 32 timers. It is possible to configure the
Each HPET can have up to 32 timers. It is possible to configure the
first two timers as legacy replacements for 8254 and RTC periodic timers.
A specification done by Intel and Microsoft can be found at
<http://www.intel.com/hardwaredesign/hpetspec.htm>.
...
...
Documentation/input/ff.txt
View file @
3f02d072
...
...
@@ -120,7 +120,7 @@ to the unique id assigned by the driver. This data is required for performing
some operations (removing an effect, controlling the playback).
This if field must be set to -1 by the user in order to tell the driver to
allocate a new effect.
See <linux/input.h> for a description of the ff_effect stuct. You should also
See <linux/input.h> for a description of the ff_effect st
r
uct. You should also
find help in a few sketches, contained in files shape.fig and interactive.fig.
You need xfig to visualize these files.
...
...
Documentation/ioctl/hdio.txt
View file @
3f02d072
...
...
@@ -946,7 +946,7 @@ HDIO_SCAN_HWIF register and (re)scan interface
This ioctl initializes the addresses and irq for a disk
controller, probes for drives, and creates /proc/ide
interfaces as appropiate.
interfaces as approp
r
iate.
...
...
Documentation/laptop-mode.txt
View file @
3f02d072
...
...
@@ -357,7 +357,7 @@ MAX_AGE=${MAX_AGE:-'600'}
# Read-ahead, in kilobytes
READAHEAD=${READAHEAD:-'4096'}
# Shall we remount journaled fs. with appropiate commit interval? (1=yes)
# Shall we remount journaled fs. with approp
r
iate commit interval? (1=yes)
DO_REMOUNTS=${DO_REMOUNTS:-'1'}
# And shall we add the "noatime" option to that as well? (1=yes)
...
...
Documentation/networking/sk98lin.txt
View file @
3f02d072
...
...
@@ -91,7 +91,7 @@ To use the driver as a module, proceed as follows:
with (M)
5. Execute the command "make modules".
6. Execute the command "make modules_install".
The appropiate modules will be installed.
The approp
r
iate modules will be installed.
7. Reboot your system.
...
...
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
View file @
3f02d072
...
...
@@ -5577,7 +5577,7 @@ struct _snd_pcm_runtime {
<informalexample>
<programlisting>
<![CDATA[
static int mychip_suspend(strut pci_dev *pci, pm_message_t state)
static int mychip_suspend(stru
c
t pci_dev *pci, pm_message_t state)
{
/* (1) */
struct snd_card *card = pci_get_drvdata(pci);
...
...
Documentation/x86_64/boot-options.txt
View file @
3f02d072
...
...
@@ -198,6 +198,6 @@ Debugging
Misc
noreplacement Don't replace instructions with more appropiate ones
noreplacement Don't replace instructions with more approp
r
iate ones
for the CPU. This may be useful on asymmetric MP systems
where some CPU have less capabilities than the others.
MAINTAINERS
View file @
3f02d072
...
...
@@ -549,6 +549,7 @@ S: Maintained
COMMON INTERNET FILE SYSTEM (CIFS)
P: Steve French
M: sfrench@samba.org
L: linux-cifs-client@lists.samba.org
L: samba-technical@lists.samba.org
W: http://us1.samba.org/samba/Linux_CIFS_client.html
T: git kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
...
...
@@ -2059,7 +2060,7 @@ S: Maintained
POSIX CLOCKS and TIMERS
P: George Anzinger
M: george@mvista.com
L:
netdev
@vger.kernel.org
L:
linux-kernel
@vger.kernel.org
S: Supported
POWERPC 4xx EMAC DRIVER
...
...
arch/i386/kernel/vm86.c
View file @
3f02d072
...
...
@@ -4,7 +4,7 @@
* Copyright (C) 1994 Linus Torvalds
*
* 29 dec 2001 - Fixed oopses caused by unchecked access to the vm86
* stack - Manfred Spraul <manfred
s
@colorfullife.com>
* stack - Manfred Spraul <manfred@colorfullife.com>
*
* 22 mar 2002 - Manfred detected the stackfaults, but didn't handle
* them correctly. Now the emulation will be in a
...
...
arch/um/include/sysdep-i386/checksum.h
View file @
3f02d072
...
...
@@ -36,7 +36,7 @@ unsigned int csum_partial_copy_nocheck(const unsigned char *src, unsigned char *
int
len
,
int
sum
)
{
memcpy
(
dst
,
src
,
len
);
return
(
csum_partial
(
dst
,
len
,
sum
)
);
return
csum_partial
(
dst
,
len
,
sum
);
}
/*
...
...
@@ -104,7 +104,7 @@ static inline unsigned short ip_fast_csum(unsigned char * iph,
:
"=r"
(
sum
),
"=r"
(
iph
),
"=r"
(
ihl
)
:
"1"
(
iph
),
"2"
(
ihl
)
:
"memory"
);
return
(
sum
)
;
return
sum
;
}
/*
...
...
drivers/block/floppy.c
View file @
3f02d072
...
...
@@ -242,7 +242,6 @@ static int allowed_drive_mask = 0x33;
static
int
irqdma_allocated
;
#define LOCAL_END_REQUEST
#define DEVICE_NAME "floppy"
#include <linux/blkdev.h>
...
...
drivers/char/Kconfig
View file @
3f02d072
...
...
@@ -881,16 +881,6 @@ config FTAPE
module. To compile this driver as a module, choose M here: the
module will be called ftape.
Note that the Ftape-HOWTO is out of date (sorry) and documents the
older version 2.08 of this software but still contains useful
information. There is a web page with more recent documentation at
<http://www.instmath.rwth-aachen.de/~heine/ftape/>. This page
always contains the latest release of the ftape driver and useful
information (backup software, ftape related patches and
documentation, FAQ). Note that the file system interface has
changed quite a bit compared to previous versions of ftape. Please
read <file:Documentation/ftape.txt>.
source "drivers/char/ftape/Kconfig"
endmenu
...
...
drivers/char/ftape/Kconfig
View file @
3f02d072
...
...
@@ -25,17 +25,7 @@ config ZFTAPE
support", above) then `zft-compressor' will be loaded
automatically by zftape when needed.
Despite its name, zftape does NOT use compression by default. The
file <file:Documentation/ftape.txt> contains a short description of
the most important changes in the file system interface compared to
previous versions of ftape. The ftape home page
<http://www.instmath.rwth-aachen.de/~heine/ftape/> contains
further information.
IMPORTANT NOTE: zftape can read archives created by previous
versions of ftape and provide file mark support (i.e. fast skipping
between tape archives) but previous version of ftape will lack file
mark support when reading archives produced by zftape.
Despite its name, zftape does NOT use compression by default.
config ZFT_DFLT_BLK_SZ
int "Default block size"
...
...
drivers/char/stallion.c
View file @
3f02d072
This diff is collapsed.
Click to expand it.
drivers/net/Kconfig
View file @
3f02d072
...
...
@@ -2676,10 +2676,6 @@ config SHAPER
Class-Based Queueing (CBQ) scheduling support which you get if you
say Y to "QoS and/or fair queueing" above.
To set up and configure shaper devices, you need the shapecfg
program, available from <ftp://shadow.cabi.net/pub/Linux/> in the
shaper package.
To compile this driver as a module, choose M here: the module
will be called shaper. If unsure, say N.
...
...
drivers/net/wan/lmc/lmc_main.c
View file @
3f02d072
...
...
@@ -641,7 +641,7 @@ static void lmc_watchdog (unsigned long data) /*fold00*/
spin_lock_irqsave
(
&
sc
->
lmc_lock
,
flags
);
if
(
sc
->
check
!=
0xBEAFCAFE
){
printk
(
"LMC: Corrupt net_device stuct, breaking out
\n
"
);
printk
(
"LMC: Corrupt net_device st
r
uct, breaking out
\n
"
);
spin_unlock_irqrestore
(
&
sc
->
lmc_lock
,
flags
);
return
;
}
...
...
drivers/net/wireless/Kconfig
View file @
3f02d072
...
...
@@ -24,10 +24,6 @@ config NET_RADIO
the tools from
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
Some user-level drivers for scarab devices which don't require
special kernel support are available from
<ftp://shadow.cabi.net/pub/Linux/>.
# Note : the cards are obsolete (can't buy them anymore), but the drivers
# are not, as people are still using them...
comment "Obsolete Wireless cards support (pre-802.11)"
...
...
@@ -160,7 +156,7 @@ config IPW2100
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
If you want to compile the driver as a module ( = code which can be
inserted in and rem
vo
ed from the running kernel whenever you want),
inserted in and rem
ov
ed from the running kernel whenever you want),
say M here and read <file:Documentation/modules.txt>. The module
will be called ipw2100.ko.
...
...
@@ -213,7 +209,7 @@ config IPW2200
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html>.
If you want to compile the driver as a module ( = code which can be
inserted in and rem
vo
ed from the running kernel whenever you want),
inserted in and rem
ov
ed from the running kernel whenever you want),
say M here and read <file:Documentation/modules.txt>. The module
will be called ipw2200.ko.
...
...
drivers/s390/scsi/zfcp_erp.c
View file @
3f02d072
...
...
@@ -3403,7 +3403,7 @@ zfcp_erp_action_dequeue(struct zfcp_erp_action *erp_action)
/**
* zfcp_erp_action_cleanup
*
* Register unit with scsi stack if appropiate and fix reference counts.
* Register unit with scsi stack if approp
r
iate and fix reference counts.
* Note: Temporary units are not registered with scsi stack.
*/
static
void
...
...
drivers/scsi/FlashPoint.c
View file @
3f02d072
...
...
@@ -149,7 +149,7 @@ typedef SCCBMGR_INFO * PSCCBMGR_INFO;
#define PCI_BUS_CARD 0x03
#define VESA_BUS_CARD 0x04
/* SCCB struc used for both SCCB and UCB manager compiles!
/* SCCB struc
t
used for both SCCB and UCB manager compiles!
* The UCB Manager treats the SCCB as it's 'native hardware structure'
*/
...
...
drivers/scsi/gdth.c
View file @
3f02d072
...
...
@@ -328,7 +328,7 @@
* hdr_channel:x x - number of virtual bus for host drives
* shared_access:Y disable driver reserve/release protocol to
* access a shared resource from several nodes,
* appropiate controller firmware required
* approp
r
iate controller firmware required
* shared_access:N enable driver reserve/release protocol
* probe_eisa_isa:Y scan for EISA/ISA controllers
* probe_eisa_isa:N do not scan for EISA/ISA controllers
...
...
fs/efs/super.c
View file @
3f02d072
...
...
@@ -222,12 +222,13 @@ static efs_block_t efs_validate_vh(struct volume_header *vh) {
sblock
);
#endif
}
return
(
sblock
)
;
return
sblock
;
}
static
int
efs_validate_super
(
struct
efs_sb_info
*
sb
,
struct
efs_super
*
super
)
{
if
(
!
IS_EFS_MAGIC
(
be32_to_cpu
(
super
->
fs_magic
)))
return
-
1
;
if
(
!
IS_EFS_MAGIC
(
be32_to_cpu
(
super
->
fs_magic
)))
return
-
1
;
sb
->
fs_magic
=
be32_to_cpu
(
super
->
fs_magic
);
sb
->
total_blocks
=
be32_to_cpu
(
super
->
fs_size
);
...
...
fs/sysv/ChangeLog
View file @
3f02d072
...
...
@@ -54,7 +54,7 @@ Fri Jan 4 2002 Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk>
(sysv_read_super): Likewise.
(v7_read_super): Likewise.
Sun Dec 30 2001 Manfred Spraul <manfred
s
@colorfullife.com>
Sun Dec 30 2001 Manfred Spraul <manfred@colorfullife.com>
* dir.c (dir_commit_chunk): Do not set dir->i_version.
(sysv_readdir): Likewise.
...
...
fs/xfs/quota/xfs_qm.c
View file @
3f02d072
This diff is collapsed.
Click to expand it.
fs/xfs/xfs_dir_leaf.c
View file @
3f02d072
This diff is collapsed.
Click to expand it.
fs/xfs/xfs_fsops.c
View file @
3f02d072
...
...
@@ -501,7 +501,7 @@ xfs_reserve_blocks(
if
(
inval
==
(
__uint64_t
*
)
NULL
)
{
outval
->
resblks
=
mp
->
m_resblks
;
outval
->
resblks_avail
=
mp
->
m_resblks_avail
;
return
(
0
)
;
return
0
;
}
request
=
*
inval
;
...
...
@@ -537,7 +537,7 @@ xfs_reserve_blocks(
outval
->
resblks
=
mp
->
m_resblks
;
outval
->
resblks_avail
=
mp
->
m_resblks_avail
;
XFS_SB_UNLOCK
(
mp
,
s
);
return
(
0
)
;
return
0
;
}
void
...
...
fs/xfs/xfs_log.c
View file @
3f02d072
...
...
@@ -403,7 +403,7 @@ xfs_log_release_iclog(xfs_mount_t *mp,
if
(
xlog_state_release_iclog
(
log
,
iclog
))
{
xfs_force_shutdown
(
mp
,
XFS_LOG_IO_ERROR
);
return
(
EIO
)
;
return
EIO
;
}
return
0
;
...
...
@@ -556,7 +556,7 @@ xfs_log_unmount(xfs_mount_t *mp)
error
=
xfs_log_unmount_write
(
mp
);
xfs_log_unmount_dealloc
(
mp
);
return
(
error
)
;
return
error
;
}
/*
...
...
@@ -728,7 +728,7 @@ xfs_log_write(xfs_mount_t * mp,
if
((
error
=
xlog_write
(
mp
,
reg
,
nentries
,
tic
,
start_lsn
,
NULL
,
0
)))
{
xfs_force_shutdown
(
mp
,
XFS_LOG_IO_ERROR
);
}
return
(
error
)
;
return
error
;
}
/* xfs_log_write */
...
...
@@ -836,7 +836,7 @@ xfs_log_need_covered(xfs_mount_t *mp)
needed
=
1
;
}
LOG_UNLOCK
(
log
,
s
);
return
(
needed
)
;
return
needed
;
}
/******************************************************************************
...
...
@@ -1003,7 +1003,7 @@ xlog_bdstrat_cb(struct xfs_buf *bp)
XFS_BUF_ERROR
(
bp
,
EIO
);
XFS_BUF_STALE
(
bp
);
xfs_biodone
(
bp
);
return
(
XFS_ERROR
(
EIO
)
);
return
XFS_ERROR
(
EIO
);
}
...
...
@@ -1263,7 +1263,7 @@ xlog_commit_record(xfs_mount_t *mp,
iclog
,
XLOG_COMMIT_TRANS
)))
{
xfs_force_shutdown
(
mp
,
XFS_LOG_IO_ERROR
);
}
return
(
error
)
;
return
error
;
}
/* xlog_commit_record */
...
...
@@ -1460,7 +1460,7 @@ xlog_sync(xlog_t *log,
if
((
error
=
XFS_bwrite
(
bp
)))
{
xfs_ioerror_alert
(
"xlog_sync"
,
log
->
l_mp
,
bp
,
XFS_BUF_ADDR
(
bp
));
return
(
error
)
;
return
error
;
}
if
(
split
)
{
bp
=
iclog
->
ic_log
->
l_xbuf
;
...
...
@@ -1498,10 +1498,10 @@ xlog_sync(xlog_t *log,
if
((
error
=
XFS_bwrite
(
bp
)))
{
xfs_ioerror_alert
(
"xlog_sync (split)"
,
log
->
l_mp
,
bp
,
XFS_BUF_ADDR
(
bp
));
return
(
error
)
;
return
error
;
}
}
return
(
0
)
;
return
0
;
}
/* xlog_sync */
...
...
@@ -1798,7 +1798,7 @@ xlog_write(xfs_mount_t * mp,
for
(
index
=
0
;
index
<
nentries
;
)
{
if
((
error
=
xlog_state_get_iclog_space
(
log
,
len
,
&
iclog
,
ticket
,
&
contwr
,
&
log_offset
)))
return
(
error
)
;
return
error
;
ASSERT
(
log_offset
<=
iclog
->
ic_size
-
1
);
ptr
=
(
__psint_t
)
((
char
*
)
iclog
->
ic_datap
+
log_offset
);
...
...
@@ -1903,7 +1903,7 @@ xlog_write(xfs_mount_t * mp,
xlog_state_finish_copy
(
log
,
iclog
,
record_cnt
,
data_cnt
);
record_cnt
=
data_cnt
=
0
;
if
((
error
=
xlog_state_release_iclog
(
log
,
iclog
)))
return
(
error
)
;
return
error
;
break
;
/* don't increment index */
}
else
{
/* copied entire region */
index
++
;
...
...
@@ -1917,7 +1917,7 @@ xlog_write(xfs_mount_t * mp,
ASSERT
(
flags
&
XLOG_COMMIT_TRANS
);
*
commit_iclog
=
iclog
;
}
else
if
((
error
=
xlog_state_release_iclog
(
log
,
iclog
)))
return
(
error
)
;
return
error
;
if
(
index
==
nentries
)
return
0
;
/* we are done */
else
...
...
@@ -1934,7 +1934,7 @@ xlog_write(xfs_mount_t * mp,
*
commit_iclog
=
iclog
;
return
0
;
}
return
(
xlog_state_release_iclog
(
log
,
iclog
)
);
return
xlog_state_release_iclog
(
log
,
iclog
);
}
/* xlog_write */
...
...
@@ -2050,7 +2050,7 @@ xlog_get_lowest_lsn(
}
lsn_log
=
lsn_log
->
ic_next
;
}
while
(
lsn_log
!=
log
->
l_iclog
);
return
(
lowest_lsn
)
;
return
lowest_lsn
;
}
...
...
@@ -2402,7 +2402,7 @@ xlog_state_get_iclog_space(xlog_t *log,
if
(
iclog
->
ic_refcnt
==
1
)
{
LOG_UNLOCK
(
log
,
s
);
if
((
error
=
xlog_state_release_iclog
(
log
,
iclog
)))
return
(
error
)
;
return
error
;
}
else
{
iclog
->
ic_refcnt
--
;
LOG_UNLOCK
(
log
,
s
);
...
...
@@ -2569,7 +2569,7 @@ xlog_regrant_write_log_space(xlog_t *log,
XLOG_TIC_RESET_RES
(
tic
);
if
(
tic
->
t_cnt
>
0
)
return
(
0
)
;
return
0
;
#ifdef DEBUG
if
(
log
->
l_flags
&
XLOG_ACTIVE_RECOVERY
)
...
...
@@ -2667,7 +2667,7 @@ xlog_regrant_write_log_space(xlog_t *log,
xlog_trace_loggrant
(
log
,
tic
,
"xlog_regrant_write_log_space: exit"
);
xlog_verify_grant_head
(
log
,
1
);
GRANT_UNLOCK
(
log
,
s
);
return
(
0
)
;
return
0
;
error_return:
...
...
@@ -2837,7 +2837,7 @@ xlog_state_release_iclog(xlog_t *log,
if
(
sync
)
{
return
xlog_sync
(
log
,
iclog
);
}
return
(
0
)
;
return
0
;
}
/* xlog_state_release_iclog */
...
...
@@ -3127,7 +3127,7 @@ xlog_state_sync(xlog_t *log,
}
while
(
iclog
!=
log
->
l_iclog
);
LOG_UNLOCK
(
log
,
s
);
return
(
0
)
;
return
0
;
}
/* xlog_state_sync */
...
...
@@ -3545,12 +3545,12 @@ xlog_state_ioerror(
ic
->
ic_state
=
XLOG_STATE_IOERROR
;
ic
=
ic
->
ic_next
;
}
while
(
ic
!=
iclog
);
return
(
0
)
;
return
0
;
}
/*
* Return non-zero, if state transition has already happened.
*/
return
(
1
)
;
return
1
;
}
/*
...
...
@@ -3587,7 +3587,7 @@ xfs_log_force_umount(
log
->
l_flags
&
XLOG_ACTIVE_RECOVERY
)
{
mp
->
m_flags
|=
XFS_MOUNT_FS_SHUTDOWN
;
XFS_BUF_DONE
(
mp
->
m_sb_bp
);
return
(
0
)
;
return
0
;
}
/*
...
...
@@ -3596,7 +3596,7 @@ xfs_log_force_umount(
*/
if
(
logerror
&&
log
->
l_iclog
->
ic_state
&
XLOG_STATE_IOERROR
)
{
ASSERT
(
XLOG_FORCED_SHUTDOWN
(
log
));
return
(
1
)
;
return
1
;
}
retval
=
0
;
/*
...
...
@@ -3678,7 +3678,7 @@ xfs_log_force_umount(
}
#endif
/* return non-zero if log IOERROR transition had already happened */
return
(
retval
)
;
return
retval
;
}
STATIC
int
...
...
@@ -3692,8 +3692,8 @@ xlog_iclogs_empty(xlog_t *log)
* any language.
*/
if
(
iclog
->
ic_header
.
h_num_logops
)
return
(
0
)
;
return
0
;
iclog
=
iclog
->
ic_next
;
}
while
(
iclog
!=
log
->
l_iclog
);
return
(
1
)
;
return
1
;
}
fs/xfs/xfs_mount.c
View file @
3f02d072
...
...
@@ -646,7 +646,7 @@ xfs_mountfs(
if
(
mp
->
m_sb_bp
==
NULL
)
{
if
((
error
=
xfs_readsb
(
mp
)))
{
return
(
error
)
;
return
error
;
}
}
xfs_mount_common
(
mp
,
sbp
);
...
...
@@ -889,7 +889,7 @@ xfs_mountfs(
* For client case we are done now
*/
if
(
mfsi_flags
&
XFS_MFSI_CLIENT
)
{
return
(
0
)
;
return
0
;
}
/*
...
...
@@ -1182,7 +1182,7 @@ xfs_unmountfs_writesb(xfs_mount_t *mp)
xfs_fs_cmn_err
(
CE_ALERT
,
mp
,
"Superblock write error detected while unmounting. Filesystem may not be marked shared readonly"
);
}
xfs_buf_relse
(
sbp
);
return
(
error
)
;
return
error
;
}
/*
...
...
@@ -1257,19 +1257,19 @@ xfs_mod_incore_sb_unlocked(xfs_mount_t *mp, xfs_sb_field_t field,
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_icount
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_IFREE
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_ifree
;
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_ifree
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_FDBLOCKS
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_fdblocks
;
...
...
@@ -1296,101 +1296,101 @@ xfs_mod_incore_sb_unlocked(xfs_mount_t *mp, xfs_sb_field_t field,
if
(
rsvd
)
{
lcounter
=
(
long
long
)
mp
->
m_resblks_avail
+
delta
;
if
(
lcounter
<
0
)
{
return
(
XFS_ERROR
(
ENOSPC
)
);
return
XFS_ERROR
(
ENOSPC
);
}
mp
->
m_resblks_avail
=
lcounter
;
return
(
0
)
;
return
0
;
}
else
{
/* not reserved */
return
(
XFS_ERROR
(
ENOSPC
)
);
return
XFS_ERROR
(
ENOSPC
);
}
}
}
mp
->
m_sb
.
sb_fdblocks
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_FREXTENTS
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_frextents
;
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
return
(
XFS_ERROR
(
ENOSPC
)
);
return
XFS_ERROR
(
ENOSPC
);
}
mp
->
m_sb
.
sb_frextents
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_DBLOCKS
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_dblocks
;
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_dblocks
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_AGCOUNT
:
scounter
=
mp
->
m_sb
.
sb_agcount
;
scounter
+=
delta
;
if
(
scounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_agcount
=
scounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_IMAX_PCT
:
scounter
=
mp
->
m_sb
.
sb_imax_pct
;
scounter
+=
delta
;
if
(
scounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_imax_pct
=
scounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_REXTSIZE
:
scounter
=
mp
->
m_sb
.
sb_rextsize
;
scounter
+=
delta
;
if
(
scounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_rextsize
=
scounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_RBMBLOCKS
:
scounter
=
mp
->
m_sb
.
sb_rbmblocks
;
scounter
+=
delta
;
if
(
scounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_rbmblocks
=
scounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_RBLOCKS
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_rblocks
;
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_rblocks
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_REXTENTS
:
lcounter
=
(
long
long
)
mp
->
m_sb
.
sb_rextents
;
lcounter
+=
delta
;
if
(
lcounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_rextents
=
lcounter
;
return
(
0
)
;
return
0
;
case
XFS_SBS_REXTSLOG
:
scounter
=
mp
->
m_sb
.
sb_rextslog
;
scounter
+=
delta
;
if
(
scounter
<
0
)
{
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
mp
->
m_sb
.
sb_rextslog
=
scounter
;
return
(
0
)
;
return
0
;
default:
ASSERT
(
0
);
return
(
XFS_ERROR
(
EINVAL
)
);
return
XFS_ERROR
(
EINVAL
);
}
}
...
...
@@ -1409,7 +1409,7 @@ xfs_mod_incore_sb(xfs_mount_t *mp, xfs_sb_field_t field, int delta, int rsvd)
s
=
XFS_SB_LOCK
(
mp
);
status
=
xfs_mod_incore_sb_unlocked
(
mp
,
field
,
delta
,
rsvd
);
XFS_SB_UNLOCK
(
mp
,
s
);
return
(
status
)
;
return
status
;
}
/*
...
...
@@ -1470,7 +1470,7 @@ xfs_mod_incore_sb_batch(xfs_mount_t *mp, xfs_mod_sb_t *msb, uint nmsb, int rsvd)
}
}
XFS_SB_UNLOCK
(
mp
,
s
);
return
(
status
)
;
return
status
;
}
/*
...
...
@@ -1500,7 +1500,7 @@ xfs_getsb(
}
XFS_BUF_HOLD
(
bp
);
ASSERT
(
XFS_BUF_ISDONE
(
bp
));
return
(
bp
)
;
return
bp
;
}
/*
...
...
fs/xfs/xfs_trans_item.c
View file @
3f02d072
...
...
@@ -78,7 +78,7 @@ xfs_trans_add_item(xfs_trans_t *tp, xfs_log_item_t *lip)
lidp
->
lid_size
=
0
;
lip
->
li_desc
=
lidp
;
lip
->
li_mountp
=
tp
->
t_mountp
;
return
(
lidp
)
;
return
lidp
;
}
/*
...
...
@@ -119,7 +119,7 @@ xfs_trans_add_item(xfs_trans_t *tp, xfs_log_item_t *lip)
lidp
->
lid_size
=
0
;
lip
->
li_desc
=
lidp
;
lip
->
li_mountp
=
tp
->
t_mountp
;
return
(
lidp
)
;
return
lidp
;
}
/*
...
...
@@ -180,7 +180,7 @@ xfs_trans_find_item(xfs_trans_t *tp, xfs_log_item_t *lip)
{
ASSERT
(
lip
->
li_desc
!=
NULL
);
return
(
lip
->
li_desc
)
;
return
lip
->
li_desc
;
}
...
...
@@ -219,10 +219,10 @@ xfs_trans_first_item(xfs_trans_t *tp)
continue
;
}
return
(
XFS_LIC_SLOT
(
licp
,
i
)
);
return
XFS_LIC_SLOT
(
licp
,
i
);
}
cmn_err
(
CE_WARN
,
"xfs_trans_first_item() -- no first item"
);
return
(
NULL
)
;
return
NULL
;
}
...
...
@@ -252,7 +252,7 @@ xfs_trans_next_item(xfs_trans_t *tp, xfs_log_item_desc_t *lidp)
continue
;
}
return
(
XFS_LIC_SLOT
(
licp
,
i
)
);
return
XFS_LIC_SLOT
(
licp
,
i
);
}
/*
...
...
@@ -261,7 +261,7 @@ xfs_trans_next_item(xfs_trans_t *tp, xfs_log_item_desc_t *lidp)
* If there is no next chunk, return NULL.
*/
if
(
licp
->
lic_next
==
NULL
)
{
return
(
NULL
)
;
return
NULL
;
}
licp
=
licp
->
lic_next
;
...
...
@@ -271,7 +271,7 @@ xfs_trans_next_item(xfs_trans_t *tp, xfs_log_item_desc_t *lidp)
continue
;
}
return
(
XFS_LIC_SLOT
(
licp
,
i
)
);
return
XFS_LIC_SLOT
(
licp
,
i
);
}
ASSERT
(
0
);
/* NOTREACHED */
...
...
@@ -425,7 +425,7 @@ xfs_trans_unlock_chunk(
}
}
return
(
freed
)
;
return
freed
;
}
...
...
@@ -478,7 +478,7 @@ xfs_trans_add_busy(xfs_trans_t *tp, xfs_agnumber_t ag, xfs_extlen_t idx)
*/
lbsp
->
lbc_ag
=
ag
;
lbsp
->
lbc_idx
=
idx
;
return
(
lbsp
)
;
return
lbsp
;
}
/*
...
...
@@ -512,7 +512,7 @@ xfs_trans_add_busy(xfs_trans_t *tp, xfs_agnumber_t ag, xfs_extlen_t idx)
tp
->
t_busy_free
--
;
lbsp
->
lbc_ag
=
ag
;
lbsp
->
lbc_idx
=
idx
;
return
(
lbsp
)
;
return
lbsp
;
}
...
...
fs/xfs/xfs_vnodeops.c
View file @
3f02d072
...
...
@@ -338,7 +338,7 @@ xfs_setattr(
code
=
XFS_QM_DQVOPALLOC
(
mp
,
ip
,
uid
,
gid
,
projid
,
qflags
,
&
udqp
,
&
gdqp
);
if
(
code
)
return
(
code
)
;
return
code
;
}
/*
...
...
@@ -1027,11 +1027,8 @@ xfs_readlink(
}
error_return:
xfs_iunlock
(
ip
,
XFS_ILOCK_SHARED
);
return
error
;
}
...
...
@@ -1206,7 +1203,7 @@ xfs_inactive_free_eofblocks(
last_fsb
=
XFS_B_TO_FSB
(
mp
,
(
xfs_ufsize_t
)
XFS_MAXIOFFSET
(
mp
));
map_len
=
last_fsb
-
end_fsb
;
if
(
map_len
<=
0
)
return
(
0
)
;
return
0
;
nimaps
=
1
;
xfs_ilock
(
ip
,
XFS_ILOCK_SHARED
);
...
...
@@ -1221,7 +1218,7 @@ xfs_inactive_free_eofblocks(
* Attach the dquots to the inode up front.
*/
if
((
error
=
XFS_QM_DQATTACH
(
mp
,
ip
,
0
)))
return
(
error
)
;
return
error
;
/*
* There are blocks after the end of file.
...
...
@@ -1249,7 +1246,7 @@ xfs_inactive_free_eofblocks(
ASSERT
(
XFS_FORCED_SHUTDOWN
(
mp
));
xfs_trans_cancel
(
tp
,
0
);
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
);
return
(
error
)
;
return
error
;
}
xfs_ilock
(
ip
,
XFS_ILOCK_EXCL
);
...
...
@@ -1277,7 +1274,7 @@ xfs_inactive_free_eofblocks(
}
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
|
XFS_ILOCK_EXCL
);
}
return
(
error
)
;
return
error
;
}
/*
...
...
@@ -1455,7 +1452,7 @@ xfs_inactive_symlink_local(
if
(
error
)
{
xfs_trans_cancel
(
*
tpp
,
0
);
*
tpp
=
NULL
;
return
(
error
)
;
return
error
;
}
xfs_ilock
(
ip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
...
...
@@ -1468,7 +1465,7 @@ xfs_inactive_symlink_local(
XFS_DATA_FORK
);
ASSERT
(
ip
->
i_df
.
if_bytes
==
0
);
}
return
(
0
)
;
return
0
;
}
/*
...
...
@@ -1494,7 +1491,7 @@ xfs_inactive_attrs(
if
(
error
)
{
*
tpp
=
NULL
;
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
);
return
(
error
);
/* goto out
*/
return
error
;
/* goto out
*/
}
tp
=
xfs_trans_alloc
(
mp
,
XFS_TRANS_INACTIVE
);
...
...
@@ -1507,7 +1504,7 @@ xfs_inactive_attrs(
xfs_trans_cancel
(
tp
,
0
);
*
tpp
=
NULL
;
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
);
return
(
error
)
;
return
error
;
}
xfs_ilock
(
ip
,
XFS_ILOCK_EXCL
);
...
...
@@ -1518,7 +1515,7 @@ xfs_inactive_attrs(
ASSERT
(
ip
->
i_d
.
di_anextents
==
0
);
*
tpp
=
tp
;
return
(
0
)
;
return
0
;
}
STATIC
int
...
...
@@ -1557,7 +1554,7 @@ xfs_release(
(
!
(
ip
->
i_d
.
di_flags
&
(
XFS_DIFLAG_PREALLOC
|
XFS_DIFLAG_APPEND
))))
{
if
((
error
=
xfs_inactive_free_eofblocks
(
mp
,
ip
)))
return
(
error
)
;
return
error
;
/* Update linux inode block count after free above */
LINVFS_GET_IP
(
vp
)
->
i_blocks
=
XFS_FSB_TO_BB
(
mp
,
ip
->
i_d
.
di_nblocks
+
ip
->
i_delayed_blks
);
...
...
@@ -1638,7 +1635,7 @@ xfs_inactive(
(
XFS_DIFLAG_PREALLOC
|
XFS_DIFLAG_APPEND
))
||
(
ip
->
i_delayed_blks
!=
0
))))
{
if
((
error
=
xfs_inactive_free_eofblocks
(
mp
,
ip
)))
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
/* Update linux inode block count after free above */
LINVFS_GET_IP
(
vp
)
->
i_blocks
=
XFS_FSB_TO_BB
(
mp
,
ip
->
i_d
.
di_nblocks
+
ip
->
i_delayed_blks
);
...
...
@@ -1649,7 +1646,7 @@ xfs_inactive(
ASSERT
(
ip
->
i_d
.
di_nlink
==
0
);
if
((
error
=
XFS_QM_DQATTACH
(
mp
,
ip
,
0
)))
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
tp
=
xfs_trans_alloc
(
mp
,
XFS_TRANS_INACTIVE
);
if
(
truncate
)
{
...
...
@@ -1672,7 +1669,7 @@ xfs_inactive(
ASSERT
(
XFS_FORCED_SHUTDOWN
(
mp
));
xfs_trans_cancel
(
tp
,
0
);
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
);
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
}
xfs_ilock
(
ip
,
XFS_ILOCK_EXCL
);
...
...
@@ -1693,7 +1690,7 @@ xfs_inactive(
xfs_trans_cancel
(
tp
,
XFS_TRANS_RELEASE_LOG_RES
|
XFS_TRANS_ABORT
);
xfs_iunlock
(
ip
,
XFS_IOLOCK_EXCL
|
XFS_ILOCK_EXCL
);
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
}
}
else
if
((
ip
->
i_d
.
di_mode
&
S_IFMT
)
==
S_IFLNK
)
{
...
...
@@ -1707,7 +1704,7 @@ xfs_inactive(
if
(
error
)
{
ASSERT
(
tp
==
NULL
);
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
}
xfs_trans_ijoin
(
tp
,
ip
,
XFS_IOLOCK_EXCL
|
XFS_ILOCK_EXCL
);
...
...
@@ -1720,7 +1717,7 @@ xfs_inactive(
if
(
error
)
{
ASSERT
(
XFS_FORCED_SHUTDOWN
(
mp
));
xfs_trans_cancel
(
tp
,
0
);
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
}
xfs_ilock
(
ip
,
XFS_ILOCK_EXCL
|
XFS_IOLOCK_EXCL
);
...
...
@@ -1742,7 +1739,7 @@ xfs_inactive(
* cancelled, and the inode is unlocked. Just get out.
*/
if
(
error
)
return
(
VN_INACTIVE_CACHE
)
;
return
VN_INACTIVE_CACHE
;
}
else
if
(
ip
->
i_afp
)
{
xfs_idestroy_fork
(
ip
,
XFS_ATTR_FORK
);
}
...
...
@@ -2049,8 +2046,8 @@ xfs_create(
abort_return:
cancel_flags
|=
XFS_TRANS_ABORT
;
/* FALLTHROUGH */
error_return:
error_return:
if
(
tp
!=
NULL
)
xfs_trans_cancel
(
tp
,
cancel_flags
);
...
...
@@ -2724,9 +2721,9 @@ xfs_link(
abort_return:
cancel_flags
|=
XFS_TRANS_ABORT
;
/* FALLTHROUGH */
error_return:
xfs_trans_cancel
(
tp
,
cancel_flags
);
goto
std_return
;
}
/*
...
...
@@ -3199,10 +3196,12 @@ xfs_rmdir(
}
return
error
;
error1:
error1:
xfs_bmap_cancel
(
&
free_list
);
cancel_flags
|=
XFS_TRANS_ABORT
;
error_return:
/* FALLTHROUGH */
error_return:
xfs_trans_cancel
(
tp
,
cancel_flags
);
goto
std_return
;
}
...
...
@@ -3618,9 +3617,9 @@ xfs_rwlock(
if
(
locktype
==
VRWLOCK_WRITE
)
{
xfs_ilock
(
ip
,
XFS_IOLOCK_EXCL
);
}
else
if
(
locktype
==
VRWLOCK_TRY_READ
)
{
return
(
xfs_ilock_nowait
(
ip
,
XFS_IOLOCK_SHARED
)
);
return
xfs_ilock_nowait
(
ip
,
XFS_IOLOCK_SHARED
);
}
else
if
(
locktype
==
VRWLOCK_TRY_WRITE
)
{
return
(
xfs_ilock_nowait
(
ip
,
XFS_IOLOCK_EXCL
)
);
return
xfs_ilock_nowait
(
ip
,
XFS_IOLOCK_EXCL
);
}
else
{
ASSERT
((
locktype
==
VRWLOCK_READ
)
||
(
locktype
==
VRWLOCK_WRITE_DIRECT
));
...
...
@@ -3868,7 +3867,7 @@ xfs_finish_reclaim(
xfs_ifunlock
(
ip
);
xfs_iunlock
(
ip
,
XFS_ILOCK_EXCL
);
}
return
(
1
)
;
return
1
;
}
ip
->
i_flags
|=
XFS_IRECLAIM
;
write_unlock
(
&
ih
->
ih_lock
);
...
...
@@ -4045,7 +4044,7 @@ xfs_alloc_file_space(
offset
,
end_dmi_offset
-
offset
,
0
,
NULL
);
if
(
error
)
return
(
error
)
;
return
error
;
}
/*
...
...
@@ -4305,7 +4304,7 @@ xfs_free_file_space(
offset
,
end_dmi_offset
-
offset
,
AT_DELAY_FLAG
(
attr_flags
),
NULL
);
if
(
error
)
return
(
error
)
;
return
error
;
}
ASSERT
(
attr_flags
&
ATTR_NOLOCK
?
attr_flags
&
ATTR_DMI
:
1
);
...
...
include/asm-v850/ptrace.h
View file @
3f02d072
...
...
@@ -92,7 +92,7 @@ struct pt_regs
/* The number of bytes used to store each register. */
#define _PT_REG_SIZE 4
/* Offset of a general purpose register in a stuct pt_regs. */
/* Offset of a general purpose register in a st
r
uct pt_regs. */
#define PT_GPR(num) ((num) * _PT_REG_SIZE)
/* Offsets of various special registers & fields in a struct pt_regs. */
...
...
include/linux/pfkeyv2.h
View file @
3f02d072
...
...
@@ -104,7 +104,7 @@ struct sadb_prop {
/* followed by:
struct sadb_comb sadb_combs[(sadb_prop_len +
sizeof(uint64_t) - sizeof(struct sadb_prop)) /
sizeof(strut sadb_comb)]; */
sizeof(stru
c
t sadb_comb)]; */
struct
sadb_comb
{
uint8_t
sadb_comb_auth
;
...
...
init/Kconfig
View file @
3f02d072
...
...
@@ -99,7 +99,7 @@ config SWAP
default y
help
This option allows you to choose whether you want to have support
for socalled swap devices or swap files in your kernel that are
for so
called swap devices or swap files in your kernel that are
used to provide more virtual memory than the actual RAM present
in your computer. If unsure say Y.
...
...
ipc/msg.c
View file @
3f02d072
...
...
@@ -12,7 +12,7 @@
*
* mostly rewritten, threaded and wake-one semantics added
* MSGMAX limit removed, sysctl's added
* (c) 1999 Manfred Spraul <manfred
s
@colorfullife.com>
* (c) 1999 Manfred Spraul <manfred@colorfullife.com>
*/
#include <linux/capability.h>
...
...
ipc/sem.c
View file @
3f02d072
...
...
@@ -56,7 +56,7 @@
* /proc/sysvipc/sem support (c) 1999 Dragos Acostachioaie <dragos@iname.com>
*
* SMP-threaded, sysctl's added
* (c) 1999 Manfred Spraul <manfred
s
@colorfullife.com>
* (c) 1999 Manfred Spraul <manfred@colorfullife.com>
* Enforced range limit on SEM_UNDO
* (c) 2001 Red Hat Inc <alan@redhat.com>
* Lockless wakeup
...
...
ipc/util.c
View file @
3f02d072
...
...
@@ -7,7 +7,7 @@
* Occurs in several places in the IPC code.
* Chris Evans, <chris@ferret.lmh.ox.ac.uk>
* Nov 1999 - ipc helper functions, unified SMP locking
* Manfred Spraul <manfred
s
@colorfullife.com>
* Manfred Spraul <manfred@colorfullife.com>
* Oct 2002 - One lock per IPC id. RCU ipc_free for lock-free grow_ary().
* Mingming Cao <cmm@us.ibm.com>
*/
...
...
ipc/util.h
View file @
3f02d072
...
...
@@ -2,7 +2,7 @@
* linux/ipc/util.h
* Copyright (C) 1999 Christoph Rohland
*
* ipc helper functions (c) 1999 Manfred Spraul <manfred
s
@colorfullife.com>
* ipc helper functions (c) 1999 Manfred Spraul <manfred@colorfullife.com>
*/
#ifndef _IPC_UTIL_H
...
...
kernel/power/Kconfig
View file @
3f02d072
...
...
@@ -38,7 +38,7 @@ config PM_DEBUG
config SOFTWARE_SUSPEND
bool "Software Suspend"
depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((F
VR
|| PPC32) && !SMP)
depends on PM && SWAP && (X86 && (!SMP || SUSPEND_SMP)) || ((F
RV
|| PPC32) && !SMP)
---help---
Enable the possibility of suspending the machine.
It doesn't need APM.
...
...
kernel/printk.c
View file @
3f02d072
...
...
@@ -11,7 +11,7 @@
* Ted Ts'o, 2/11/93.
* Modified for sysctl support, 1/8/97, Chris Horn.
* Fixed SMP synchronization, 08/08/99, Manfred Spraul
* manfred
s
@colorfullife.com
* manfred@colorfullife.com
* Rewrote bits to get rid of console_lock
* 01Mar01 Andrew Morton <andrewm@uow.edu.au>
*/
...
...
sound/oss/opl3sa2.c
View file @
3f02d072
...
...
@@ -530,7 +530,7 @@ static void __init attach_opl3sa2_mss(struct address_info* hw_config, struct res
if
(
hw_config
->
slots
[
0
]
!=
-
1
)
{
/* Did the MSS driver install? */
if
(
num_mixers
==
(
initial_mixers
+
1
))
{
/* The MSS mixer is installed, reroute mixers appropiately */
/* The MSS mixer is installed, reroute mixers approp
r
iately */
AD1848_REROUTE
(
SOUND_MIXER_LINE1
,
SOUND_MIXER_CD
);
AD1848_REROUTE
(
SOUND_MIXER_LINE2
,
SOUND_MIXER_SYNTH
);
AD1848_REROUTE
(
SOUND_MIXER_LINE3
,
SOUND_MIXER_LINE
);
...
...
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