From: Al Viro Date: Fri, 17 Jun 2011 13:05:48 +0000 (-0400) Subject: cifs: don't pass superblock to cifs_mount() X-Git-Tag: v3.0-rc5~31^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c6292ae4be00454882246d07f38cdf15a823c2a;p=pandora-kernel.git cifs: don't pass superblock to cifs_mount() To close sget() races we'll need to be able to set cifs_sb up before we get the superblock, so we'll want to be able to do cifs_mount() earlier. Fortunately, it's easy to do - setting ->s_maxbytes can be done in cifs_read_super(), ditto for ->s_time_gran and as for putting MS_POSIXACL into ->s_flags, we can mirror it in ->mnt_cifs_flags until cifs_read_super() is called. Kill unused 'devname' argument, while we are at it... Acked-by: Pavel Shilovsky Reviewed-by: Jeff Layton Signed-off-by: Al Viro --- Reading git-diff-tree failed