]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/super.c
ocfs2: Negotiate locking protocol versions.
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / super.c
index 01fe40ee5ea943e2a47ae1a96987eed12673a847..bec75aff3d9f0d4746e71ceb1d70a56032eee3ec 100644 (file)
@@ -1355,6 +1355,7 @@ static int ocfs2_initialize_super(struct super_block *sb,
        sb->s_fs_info = osb;
        sb->s_op = &ocfs2_sops;
        sb->s_export_op = &ocfs2_export_ops;
+       osb->osb_locking_proto = ocfs2_locking_protocol;
        sb->s_time_gran = 1;
        sb->s_flags |= MS_NOATIME;
        /* this is needed to support O_LARGEFILE */