X-Git-Url: http://git.monstr.eu/?p=linux-2.6-microblaze.git;a=blobdiff_plain;f=fs%2Ffs_parser.c;h=3df07c0e32b34ace91d1d9efd24cd70bcc37deb3;hp=980d44fd3a3639deeccfb23fc463d37e6d06bd88;hb=d8e988b62f948d47dd86ec655c89d54053df1754;hpb=aef511fb91b6efb2d355c2704cf979f3202d310a diff --git a/fs/fs_parser.c b/fs/fs_parser.c index 980d44fd3a36..3df07c0e32b3 100644 --- a/fs/fs_parser.c +++ b/fs/fs_parser.c @@ -165,7 +165,6 @@ int fs_lookup_param(struct fs_context *fc, return invalf(fc, "%s: not usable as path", param->key); } - f->refcnt++; /* filename_lookup() drops our ref. */ ret = filename_lookup(param->dirfd, f, flags, _path, NULL); if (ret < 0) { errorf(fc, "%s: Lookup failure for '%s'", param->key, f->name);