more CURRENT_TIME_SEC
PATCH 1/1 more CURRENT_TIME_SEC
Whoops, quilt user error, missed this one in the previous patch.
Signed-off-by Eric Sandeen <[email protected]>
fs/gfs2/eattr.c +4 -4
@@ -301,7 +301,7 @@ static int ea_dealloc_unstuffed(struct g error =gfs2_meta_inode_buffer (ip, &dibh);if (!error) { - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);
@@ -718,7 +718,7 @@ static int ea_alloc_skeleton(struct gfs2 (er->er_mode & S_IFMT)); ip->i_inode.i_mode = er->er_mode; } - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);
@@ -853,7 +853,7 @@ static int ea_set_simple_noalloc(struct (ip->i_inode.i_mode & S_IFMT) == (er->er_mode & S_IFMT)); ip->i_inode.i_mode = er->er_mode; } - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);
@@ -1134,7 +1134,7 @@ static int ea_remove_stuffed(struct gfs2 error =gfs2_meta_inode_buffer (ip, &dibh);if (!error) { - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);
PATCH 1/1 more CURRENT_TIME_SEC
Hi,
Now applied to the -nmw git tree. Thanks,
Steve.
Quoted 46 lines · Eric Sandeen
Whoops, quilt user error, missed this one in the previous patch.
Signed-off-by Eric Sandeen <[email protected]>Index:
linux-2.6.19/fs/gfs2/eattr.c
===================================================================fs/gfs2/eattr.c +4
-4@@ -301,7 +301,7 @@ static int ea_dealloc_unstuffed(struct g error =gfs2_meta_inode_buffer (ip, &dibh);if (!error) { - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);@@ -718,7 +718,7 @@ static int ea_alloc_skeleton(struct gfs2 (er->er_mode & S_IFMT)); ip->i_inode.i_mode = er->er_mode; } - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);@@ -853,7 +853,7 @@ static int ea_set_simple_noalloc(struct (ip->i_inode.i_mode & S_IFMT) == (er->er_mode & S_IFMT)); ip->i_inode.i_mode = er->er_mode; } - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);@@ -1134,7 +1134,7 @@ static int ea_remove_stuffed(struct gfs2 error =gfs2_meta_inode_buffer (ip, &dibh);if (!error) { - ip->i_inode.i_ctime.tv_sec =get_seconds (); + ip->i_inode.i_ctime =CURRENT_TIME_SEC ;gfs2_trans_add_bh (ip->i_gl, dibh,1 );gfs2_dinode_out (ip, dibh->b_data);brelse (dibh);