Re: [PATCH] [GFS2] Remove i_mode passing from NFS File Handle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -#define GFS2_LARGE_FH_SIZE 10
> -
> -struct gfs2_fh_obj {
> -	struct gfs2_inum_host this;
> -	u32 imode;
> -};
> +#define GFS2_LARGE_FH_SIZE 8

Because gfs2_decode_fh only accepts file handles with GFS2_LARGE_FH_SIZE
or GFS2_LARGE_FH_SIZE you don't accept filehandles sent out by and older
gfs version anymore.  Stale filehandles because of a new kernel version
are a big no-no, so please add back code to handle the old filehandles
on the decode side.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux