xfs_dm_rdwr() needs to pass a vfsmount to dentry_open()
We need a vfsmount pointer in xfs_dm_rdwr() but we are not
provided with one and there's no way to get to it. So add
a m_vfsmount field to the xfs_mount structure and set it
up at mount time. We can then access it through the xfs
inode.
Date: Fri May 16 14:56:46 AEST 2008
Workarea: redback.melbourne.sgi.com:/home/lachlan/isms/2.6.x-bmap
Inspected by: dgc
Author: lachlan
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:31176a
fs/xfs/xfs_mount.h - 1.266 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_mount.h.diff?r1=text&tr1=1.266&r2=text&tr2=1.265&f=h
fs/xfs/linux-2.6/xfs_super.c - 1.417 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_super.c.diff?r1=text&tr1=1.417&r2=text&tr2=1.416&f=h
- Set up a vfsmount pointer in the xfs mount structure.
fs/xfs/dmapi/xfs_dm.c - 1.73 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/dmapi/xfs_dm.c.diff?r1=text&tr1=1.73&r2=text&tr2=1.72&f=h
- xfs_dm_rdwr() needs to pass a vfsmount to dentry_open()
|