Whamcloud - gitweb
b=5153
authoralex <alex>
Tue, 9 Nov 2004 11:04:57 +0000 (11:04 +0000)
committeralex <alex>
Tue, 9 Nov 2004 11:04:57 +0000 (11:04 +0000)
- remove redundant f_dput() in filter_preprw_write()

lustre/obdfilter/filter_io.c

index 8b09fc7..e0b3440 100644 (file)
@@ -537,7 +537,6 @@ static int filter_preprw_write(int cmd, struct obd_export *exp, struct obdo *oa,
         if (dentry->d_inode == NULL) {
                 CERROR("trying to BRW to non-existent file "LPU64"\n",
                        obj->ioo_id);
-                f_dput(dentry);
                 GOTO(cleanup, rc = -ENOENT);
         }