We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e776b4b commit 8bd715aCopy full SHA for 8bd715a
fs/cifs/inode.c
@@ -1178,7 +1178,8 @@ static int cifs_get_fattr(struct cifs_open_info_data *data,
1178
} else {
1179
cifs_open_info_to_fattr(fattr, data, sb);
1180
}
1181
- if (!rc && fattr->cf_flags & CIFS_FATTR_DELETE_PENDING)
+ if (!rc && *inode &&
1182
+ (fattr->cf_flags & CIFS_FATTR_DELETE_PENDING))
1183
cifs_mark_open_handles_for_deleted_file(*inode, full_path);
1184
break;
1185
case -EREMOTE:
0 commit comments