commit | 101b92d9590a645d6fb643654b3a92556203b745 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Wed Sep 19 06:22:45 2012 -0700 |
committer | Steve French <smfrench@gmail.com> | Mon Sep 24 21:46:34 2012 -0500 |
tree | fb5e6ce303a74fae0bcca5904e39d0ca9d403c5b | |
parent | 233839b1df65a24c8b67b748fe7b18d86d0ad6d7 [diff] |
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 <piastry@etersoft.ru> Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>