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
Inspected by: haveblue@xxxxxxxxxx,hch
The following file(s) were checked into:
fs/xfs/linux-2.6/xfs_ioctl.c - 1.173 - changed
- use proper mnt_want_write calls for handle ioctl