X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=net%2Fsunrpc%2Frpc_pipe.c;h=9ced0628d69c35d44aa158b6d615acf8086278c6;hb=9ff9a26b786c35ee8d2a66222924a807ec851a9f;hp=19245324887011f358adab5baa5a28d38811549f;hpb=f57fa1d6a6b3414e853d3d17e339ac48816e4406;p=sfrench%2Fcifs-2.6.git diff --git a/net/sunrpc/rpc_pipe.c b/net/sunrpc/rpc_pipe.c index 192453248870..9ced0628d69c 100644 --- a/net/sunrpc/rpc_pipe.c +++ b/net/sunrpc/rpc_pipe.c @@ -480,7 +480,7 @@ static int rpc_delete_dentry(struct dentry *dentry) return 1; } -static struct dentry_operations rpc_dentry_operations = { +static const struct dentry_operations rpc_dentry_operations = { .d_delete = rpc_delete_dentry, }; @@ -522,8 +522,6 @@ rpc_get_inode(struct super_block *sb, int mode) if (!inode) return NULL; inode->i_mode = mode; - inode->i_uid = inode->i_gid = 0; - inode->i_blocks = 0; inode->i_atime = inode->i_mtime = inode->i_ctime = CURRENT_TIME; switch(mode & S_IFMT) { case S_IFDIR: