GFS2: Clean up duplicated setattr code
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Nov 2010 15:14:57 +0000 (15:14 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 30 Nov 2010 10:30:19 +0000 (10:30 +0000)
commit2ae51ed7b548c1d943d080da617515e801ea5c3e
treeb2ed48042eef41f89d8316b70bbbb6c936d3dc76
parent9e55cd53728719ac3a3234a6618259ab8e203a10
GFS2: Clean up duplicated setattr code

While preparing the last patch I noticed that the gfs2_setattr_simple
code had been duplicated into two other places. This patch updates
those to call gfs2_setattr_simple rather than open coding it.

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