| To: | Steve Lord <lord@xxxxxxx>, Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx> |
|---|---|
| Subject: | Re: getbmapx 1 ino 955713 mode 0x000081b4 offset 0 failed: Inappropriate ioctl for device |
| From: | "Bernhard R. Erdmann" <be@xxxxxxxxxxx> |
| Date: | Sun, 20 May 2001 19:48:29 +0200 |
| Organization: | Bernhard Erdmann Communication & Network Solutions |
| References: | <3B07CF14.2182D913@xxxxxxxxxxx> <200105201525.f4KFPb619598@xxxxxxxxxxxxxxxxxxxx> |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
> A fix should show up in cvs within an hour - presuming the auto updates are
> working this weekend.
They are working and your fix helps:
--- /usr/src/linux-2.4-xfs/linux/fs/xfs/linux/xfs_ioctl.c Thu May 17
04:58:46 2001
+++ src/linux-2.4-xfs/linux/fs/xfs/linux/xfs_ioctl.c Sun May 20 18:39:46
2001
@@ -346,6 +346,13 @@
inode = XFS_ITOV(ip)->v_inode;
xfs_iunlock(ip, XFS_ILOCK_SHARED);
+ linvfs_set_inode_ops(inode);
+ error = linvfs_revalidate_core(inode, ATTR_COMM);
+ if (error) {
+ iput(inode);
+ return -XFS_ERROR(error);
+ }
+
/*
* Restrict handle operations to directories & regular files.
*/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: strange fsr messages..., Steve Lord |
|---|---|
| Next by Date: | Re: strange fsr messages..., Ingo Paschke |
| Previous by Thread: | Re: getbmapx 1 ino 955713 mode 0x000081b4 offset 0 failed: Inappropriate ioctl for device, Steve Lord |
| Next by Thread: | TAKE - xfsrestore + ea/acl man pages, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |