diff options
Diffstat (limited to 'fs/xfs/linux-2.6/xfs_ioctl32.c')
-rw-r--r-- | fs/xfs/linux-2.6/xfs_ioctl32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/xfs/linux-2.6/xfs_ioctl32.c b/fs/xfs/linux-2.6/xfs_ioctl32.c index 83f509960305..0046bdd5b7f1 100644 --- a/fs/xfs/linux-2.6/xfs_ioctl32.c +++ b/fs/xfs/linux-2.6/xfs_ioctl32.c | |||
@@ -371,7 +371,6 @@ xfs_compat_ioctl( | |||
371 | unsigned long arg) | 371 | unsigned long arg) |
372 | { | 372 | { |
373 | struct inode *inode = file->f_path.dentry->d_inode; | 373 | struct inode *inode = file->f_path.dentry->d_inode; |
374 | bhv_vnode_t *vp = vn_from_inode(inode); | ||
375 | int error; | 374 | int error; |
376 | 375 | ||
377 | switch (cmd) { | 376 | switch (cmd) { |
@@ -459,7 +458,7 @@ xfs_compat_ioctl( | |||
459 | } | 458 | } |
460 | 459 | ||
461 | error = xfs_ioctl(XFS_I(inode), file, mode, cmd, (void __user *)arg); | 460 | error = xfs_ioctl(XFS_I(inode), file, mode, cmd, (void __user *)arg); |
462 | VMODIFY(vp); | 461 | xfs_iflags_set(XFS_I(inode), XFS_IMODIFIED); |
463 | 462 | ||
464 | return error; | 463 | return error; |
465 | } | 464 | } |