From: Jeff Layton Date: Wed, 19 Sep 2012 13:22:45 +0000 (-0700) Subject: cifs: cleanups for cifs_mkdir_qinfo X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~66^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=101b92d9590a645d6fb643654b3a92556203b745;p=pandora-kernel.git cifs: cleanups for cifs_mkdir_qinfo Rename inode pointers for better clarity. Move the d_instantiate call to the end of the function to prevent other tasks from seeing it before we've finished constructing it. Since we should have exclusive access to the inode at this point, remove the spinlock around i_nlink update. Reviewed-by: Pavel Shilovsky Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed