diff options
author | Jeff Mahoney <jeffm@suse.com> | 2005-11-29 19:34:39 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-29 19:47:03 -0800 |
commit | 576f6d79564d0d2c1f43088e6805674d2e122935 (patch) | |
tree | fcd2bc41909102b122d8c3b9b915396d0173787f /fs/stat.c | |
parent | 9f232a125bf86b0dae09f8ea4a0553535cf6b658 (diff) | |
download | kernel_samsung_smdk4412-576f6d79564d0d2c1f43088e6805674d2e122935.zip kernel_samsung_smdk4412-576f6d79564d0d2c1f43088e6805674d2e122935.tar.gz kernel_samsung_smdk4412-576f6d79564d0d2c1f43088e6805674d2e122935.tar.bz2 |
[PATCH] reiserfs: handle cnode allocation failure gracefully
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>
Diffstat (limited to 'fs/stat.c')
0 files changed, 0 insertions, 0 deletions