aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/linux-2.6/xfs_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl.c')
-rw-r--r--fs/xfs/linux-2.6/xfs_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl.c b/fs/xfs/linux-2.6/xfs_ioctl.c
index 4c38e27ed184..c9b0c9e68139 100644
--- a/fs/xfs/linux-2.6/xfs_ioctl.c
+++ b/fs/xfs/linux-2.6/xfs_ioctl.c
@@ -138,7 +138,7 @@ xfs_find_handle(
138 vp = vn_from_inode(inode); 138 vp = vn_from_inode(inode);
139 139
140 /* now we can grab the fsid */ 140 /* now we can grab the fsid */
141 memcpy(&handle.ha_fsid, XFS_MTOVFS(XFS_I(inode)->i_mount)->vfs_altfsid, 141 memcpy(&handle.ha_fsid, XFS_I(inode)->i_mount->m_fixedfsid,
142 sizeof(xfs_fsid_t)); 142 sizeof(xfs_fsid_t));
143 hsize = sizeof(xfs_fsid_t); 143 hsize = sizeof(xfs_fsid_t);
144 144
@@ -966,7 +966,7 @@ xfs_ioctl(
966 if (!capable(CAP_SYS_ADMIN)) 966 if (!capable(CAP_SYS_ADMIN))
967 return -EPERM; 967 return -EPERM;
968 968
969 error = xfs_errortag_clearall(mp); 969 error = xfs_errortag_clearall(mp, 1);
970 return -error; 970 return -error;
971 971
972 default: 972 default: