GFS2: Clean up symlink creation
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 13 May 2011 09:34:59 +0000 (10:34 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 13 May 2011 09:34:59 +0000 (10:34 +0100)
commit160b4026dc3e75c0693d0123eca805e88cd200b6
tree32aa1a6e23b09be65cabdbcd6be2a8fc3d50527f
parente2d0a13bba051d7a9618b0952d91fac68175a71a
GFS2: Clean up symlink creation

This moves the symlink specific parts of inode creation
into the function where we initialise the rest of the
dinode. As a result we have one less place where we need
to look up the inode's buffer.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c
fs/gfs2/inode.h