From: adilger Date: Fri, 29 Mar 2002 08:51:04 +0000 (+0000) Subject: Disable the delete_inode overloading for now. It overloads the methods X-Git-Tag: v1_7_100~5839 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=fee01c5ce5153f1e59a2e2e48a91e50b50507b41;hp=52b3216f3e0c493451b72c886994bd62a8c8f1d9;p=fs%2Flustre-release.git Disable the delete_inode overloading for now. It overloads the methods for _all_ users of that filesystem type, which is obviously bad. --- diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 00c47ab..5c880d2 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -471,9 +471,9 @@ static int mds_setup(struct obd_device *obddev, obd_count len, void *buf) * Replace the client filesystem delete_inode method with our own, * so that we can clear the object ID before the inode is deleted. * The fs_delete_inode method will call cl_delete_inode for us. - */ mds->mds_fsops->cl_delete_inode = mds->mds_sb->s_op->delete_inode; mds->mds_sb->s_op->delete_inode = mds->mds_fsops->fs_delete_inode; + */ mds->mds_ctxt.pwdmnt = mnt; mds->mds_ctxt.pwd = mnt->mnt_root;