forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'befs-v4.10-rc1' of git://github.com/luisbg/linux-befs
Pull befs updates from Luis de Bethencourt: "A series of small fixes and adding NFS export support" * tag 'befs-v4.10-rc1' of git://github.com/luisbg/linux-befs: befs: add NFS export support befs: remove trailing whitespaces befs: remove signatures from comments befs: fix style issues in header files befs: fix style issues in linuxvfs.c befs: fix typos in linuxvfs.c befs: fix style issues in io.c befs: fix style issues in inode.c befs: fix style issues in debug.c
- Loading branch information
Showing
13 changed files
with
145 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
/* | ||
* btree.h | ||
* | ||
* | ||
*/ | ||
|
||
|
||
int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, | ||
const char *key, befs_off_t * value); | ||
const char *key, befs_off_t *value); | ||
|
||
int befs_btree_read(struct super_block *sb, const befs_data_stream *ds, | ||
loff_t key_no, size_t bufsize, char *keybuf, | ||
size_t * keysize, befs_off_t * value); | ||
|
||
size_t *keysize, befs_off_t *value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* inode.c | ||
* | ||
* | ||
* Copyright (C) 2001 Will Dyson <[email protected]> | ||
*/ | ||
|
||
|
@@ -10,12 +10,12 @@ | |
#include "inode.h" | ||
|
||
/* | ||
Validates the correctness of the befs inode | ||
Returns BEFS_OK if the inode should be used, otherwise | ||
returns BEFS_BAD_INODE | ||
*/ | ||
* Validates the correctness of the befs inode | ||
* Returns BEFS_OK if the inode should be used, otherwise | ||
* returns BEFS_BAD_INODE | ||
*/ | ||
int | ||
befs_check_inode(struct super_block *sb, befs_inode * raw_inode, | ||
befs_check_inode(struct super_block *sb, befs_inode *raw_inode, | ||
befs_blocknr_t inode) | ||
{ | ||
u32 magic1 = fs32_to_cpu(sb, raw_inode->magic1); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
/* | ||
* inode.h | ||
* | ||
* | ||
*/ | ||
|
||
int befs_check_inode(struct super_block *sb, befs_inode * raw_inode, | ||
int befs_check_inode(struct super_block *sb, befs_inode *raw_inode, | ||
befs_blocknr_t inode); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* | ||
* Copyright (C) 2001 Will Dyson <[email protected] | ||
* | ||
* Based on portions of file.c and inode.c | ||
* Based on portions of file.c and inode.c | ||
* by Makoto Kato ([email protected]) | ||
* | ||
* Many thanks to Dominic Giampaolo, author of Practical File System | ||
|
@@ -19,8 +19,7 @@ | |
/* | ||
* Converts befs notion of disk addr to a disk offset and uses | ||
* linux kernel function sb_bread() to get the buffer containing | ||
* the offset. -Will Dyson | ||
* | ||
* the offset. | ||
*/ | ||
|
||
struct buffer_head * | ||
|
@@ -55,7 +54,7 @@ befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) | |
befs_debug(sb, "<--- %s", __func__); | ||
return bh; | ||
|
||
error: | ||
error: | ||
befs_debug(sb, "<--- %s ERROR", __func__); | ||
return NULL; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
|
||
struct buffer_head *befs_bread_iaddr(struct super_block *sb, | ||
befs_inode_addr iaddr); | ||
|
Oops, something went wrong.