summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-06-11 00:55:49 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-11 00:55:49 -0700
commitb174bf9655a599034c87efdf3f3f053f1e192cf5 (patch)
tree5c853416172bf909c4bf25ca14c35544f7ec3bfa /include/linux
parent334c8b07f4e6ec3280022bf226c814c2c1c1b330 (diff)
[PATCH] (8/14) resync
get_super() split in two functions - get_super(bdev) and user_get_super(dev_t). Callers that used get_super() to get superblock by (dev_t) syscall argument switched to the latter; the rest had block_device in question and switched to passing it.
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 5ba335793100..450e909d7375 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1255,7 +1255,8 @@ extern int vfs_lstat(char *, struct kstat *);
extern int vfs_fstat(unsigned int, struct kstat *);
extern struct file_system_type *get_fs_type(const char *name);
-extern struct super_block *get_super(kdev_t);
+extern struct super_block *get_super(struct block_device *);
+extern struct super_block *user_get_super(dev_t);
extern void drop_super(struct super_block *sb);
extern int dcache_dir_open(struct inode *, struct file *);