[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1371761798.2776.134@driftwood>
Date: Thu, 20 Jun 2013 15:56:38 -0500
From: Rob Landley <rob@...dley.net>
To: Li Wang <liwang@...ntukylin.com>
Cc: Sage Weil <sage@...tank.com>, ceph-devel@...r.kernel.org,
linux-kernel@...r.kernel.org,
Yunchuan Wen <yunchuanwen@...ntukylin.com>,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH v2] Ceph: Punch hole support
On 06/19/2013 11:23:51 AM, Li Wang wrote:
> This patch implements punch hole (fallocate) support for Ceph.
>
> Signed-off-by: Li Wang <liwang@...ntukylin.com>
> Signed-off-by: Yunchuan Wen <wenyunchuan@...ntukylin.com>
> +static int ceph_delete_object(struct inode *inode, u64 offset, u64
> *length)
> +{
> + struct ceph_inode_info *ci = ceph_inode(inode);
> + struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
> + struct ceph_osd_request *req;
Mixing tabs and spaces.
> +static int ceph_punch_hole(struct file *file, loff_t offset, loff_t
> length)
> +{
> + struct inode *inode = file->f_dentry->d_inode;
> + int ret = 0;
> +
> + if (!S_ISREG(inode->i_mode)) {
> + return -EOPNOTSUPP;
> + }
And again.
Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists