git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
Documentation
/
filesystems
/
porting
diff --git
a/Documentation/filesystems/porting
b/Documentation/filesystems/porting
index
2f38846
..
5531694
100644
(file)
--- a/
Documentation/filesystems/porting
+++ b/
Documentation/filesystems/porting
@@
-50,10
+50,11
@@
Turn your foo_read_super() into a function that would return 0 in case of
success and negative number in case of error (-EINVAL unless you have more
informative error value to report). Call it foo_fill_super(). Now declare
success and negative number in case of error (-EINVAL unless you have more
informative error value to report). Call it foo_fill_super(). Now declare
-
struct super_block
foo_get_sb(struct file_system_type *fs_type,
- int flags, const char *dev_name, void *data)
+
int
foo_get_sb(struct file_system_type *fs_type,
+ int flags, const char *dev_name, void *data
, struct vfsmount *mnt
)
{
{
- return get_sb_bdev(fs_type, flags, dev_name, data, ext2_fill_super);
+ return get_sb_bdev(fs_type, flags, dev_name, data, foo_fill_super,
+ mnt);
}
(or similar with s/bdev/nodev/ or s/bdev/single/, depending on the kind of
}
(or similar with s/bdev/nodev/ or s/bdev/single/, depending on the kind of