summaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/dir.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 17:59:31 +0000
commit3321b791b2e8897323f8c044a0c77ff25781381c (patch)
treecf349723b7b4f48151d10eeaeff322c05fd9de3b /fs/nilfs2/dir.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/nilfs2/dir.c')
0 files changed, 0 insertions, 0 deletions