Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 597817dd authored by Yan, Zheng's avatar Yan, Zheng Committed by Ilya Dryomov
Browse files

ceph: support file lock on directory

parent 6dd4940b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1486,6 +1486,8 @@ const struct file_operations ceph_dir_fops = {
	.release = ceph_release,
	.unlocked_ioctl = ceph_ioctl,
	.fsync = ceph_fsync,
	.lock = ceph_lock,
	.flock = ceph_flock,
};

const struct file_operations ceph_snapdir_fops = {