cifs: when renaming don't try to unlink negative dentry
[safe/jmp/linux-2.6] / fs / gfs2 / ops_dentry.c
index 5eb57b0..022c66c 100644 (file)
@@ -107,7 +107,7 @@ static int gfs2_dhash(struct dentry *dentry, struct qstr *str)
        return 0;
 }
 
-struct dentry_operations gfs2_dops = {
+const struct dentry_operations gfs2_dops = {
        .d_revalidate = gfs2_drevalidate,
        .d_hash = gfs2_dhash,
 };