Since 2.6.26 all writes to filesystems need to be enclosed by a
mnt_want_write / mnt_drop_write pair instead of checking for IS_RDONLY.
XFs was updated for this in mainline but the changes to xfs_ioctl.c
were never megred back into the CVS tree.
Mainline commit 42a74f206b914db13ee1f5ae932dcd91a77c8579
Signed-off-by: Dave Hansen <haveblue@xxxxxxxxxx>
Date: Wed Oct 22 16:20:31 EST 2008
Workarea: chapter11.melbourne.sgi.com:/scratch/donaldd/isms/2.6.x-xfs
Inspected by: haveblue@xxxxxxxxxx,hch
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:32381a
fs/xfs/linux-2.6/xfs_ioctl.c - 1.173 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_ioctl.c.diff?r1=text&tr1=1.173&r2=text&tr2=1.172&f=h
- use proper mnt_want_write calls for handle ioctl
|