aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2009-09-25 09:53:37 -0400
committerSteve French <sfrench@us.ibm.com>2009-09-25 13:59:31 -0400
commit3321b791b2e8897323f8c044a0c77ff25781381c (patch)
treecf349723b7b4f48151d10eeaeff322c05fd9de3b /fs/cifs/cifsfs.c
parent15dd478107fb110689ef09d276d84051b31b7e5c (diff)
cifs: fix locking and list handling code in cifs_open and its helper
The patch to remove cifs_init_private introduced a locking imbalance. It didn't remove the leftover list addition code and the unlocking in that function. cifs_new_fileinfo does the list addition now, so there should be no need to do it outside of that function. pCifsInode will never be NULL, so we don't need to check for that. This patch also gets rid of the ugly locking and unlocking across function calls. Signed-off-by: Jeff Layton <jlayton@redhat.com> Acked-by: Steve French <sfrench@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsfs.c')
0 files changed, 0 insertions, 0 deletions