Staging
v0.5.1
https://github.com/torvalds/linux
Revision 576f6d79564d0d2c1f43088e6805674d2e122935 authored by Jeff Mahoney on 30 November 2005, 03:34:39 UTC, committed by Linus Torvalds on 30 November 2005, 03:47:03 UTC
If an external device is used for a journal, by default it will use the
entire device.  The reiserfs journal code allocates structures per journal
block when it mounts the file system.  If the journal device is too large,
and memory cannot be allocated for the structures, it will continue and
ultimately panic when it can't pull one off the free list.

This patch handles the allocation failure gracefully and prints an error
message at mount time.

Changes: Updated error message to be more descriptive to the user.

Discussed and approved on ReiserFS Mailing List, Nov 28.

Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 9f232a1
History
Tip revision: 576f6d79564d0d2c1f43088e6805674d2e122935 authored by Jeff Mahoney on 30 November 2005, 03:34:39 UTC
[PATCH] reiserfs: handle cnode allocation failure gracefully
Tip revision: 576f6d7
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 391 bytes
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 87.5 KB
Kbuild -rw-r--r-- 1.2 KB
MAINTAINERS -rw-r--r-- 63.4 KB
Makefile -rw-r--r-- 42.8 KB
README -rw-r--r-- 14.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top