cifs: refactor new_inode() calls and inode initialization
authorJeff Layton <jlayton@redhat.com>
Tue, 10 Feb 2009 12:33:57 +0000 (07:33 -0500)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 11 Mar 2011 15:15:21 +0000 (17:15 +0200)
commit7bf51deb6db1ba893f992634f4381418431167e2
tree1e760b54646d73dfc4be46b1e9d6530f6f63d54a
parent9b4e3d9ba5b4e1e2cd57c6a03bd9ea0db0cb9276
cifs: refactor new_inode() calls and inode initialization

Move new inode creation into a separate routine and refactor the
callers to take advantage of it.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifsproto.h
fs/cifs/inode.c
fs/cifs/readdir.c