Message ID | 1437467876-22106-2-git-send-email-yangds.fnst@cn.fujitsu.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/include/linux/fs.h b/include/linux/fs.h index 35ec87e..2f1d9499 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1284,6 +1284,7 @@ struct super_block { struct hlist_bl_head s_anon; /* anonymous dentries for (nfs) exporting */ struct list_head s_mounts; /* list of mounts; _not_ for fs use */ struct block_device *s_bdev; + struct cdev *s_cdev; struct backing_dev_info *s_bdi; struct mtd_info *s_mtd; struct hlist_node s_instances;
There are some filesystems are running on char devs, such as ubifs. So we need a field in super_block to hold a reference to the char device. Signed-off-by: Dongsheng Yang <yangds.fnst@cn.fujitsu.com> --- include/linux/fs.h | 1 + 1 file changed, 1 insertion(+)